node-xml2js-xpath icon indicating copy to clipboard operation
node-xml2js-xpath copied to clipboard

Search xml2js JSON documents with XPath query strings.

Results 4 node-xml2js-xpath issues
Sort by recently updated
recently updated
newest added

Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

Queries like `//node[@extension='true']` do not seem to recurse. For example, with the XML ```xml First Inner Second ``` the above query only returns the `Second` node, when it should also...

This package does not support syntax like `//node[@extension]`, which should check for `node` elements with the `extension` attribute present (with any value).

` Task List ` Given the preceeding XML, the following will return one node. `xpath.evalFirst(controllerXML, "/Controllers/Controller[@ID='cbd2b66a-0121-474c-b038-54b9af8bb00e']/Fields/Field[@ID='68fd01c4-a545-91bb-1821-1d90dbec2e69']/Name");` The following fails with the message, "Cannot use 'in' operator for 'string'" `xpath.evalFirst(controllerXML, "/Controllers/Controller/Fields/Field[@ID='${fieldId}']/Name");`...