Module: models/xpath

Shared logic for xpath selector

Source:

Methods

(inner) select(selector, ns, possibleXML, logger) → {Object}

Returns xpath value(s) from given xml

Parameters:
Name Type Description
selector String

The xpath selector

ns Object

The namespace map

possibleXML String

the xml

logger Object

Optional, used to log XML parsing errors

Source:
Returns:
Type
Object