Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mavrosxristoforos authored Mar 8, 2022
1 parent b99b12d commit ed2f2d8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
You can also add -d for debug output.

node index.js -f path/to/file.xml -p //element -d


## Attributes

Since version 1.1.0, you can now also read attributes. Example:

//element/@version

## Namespaces

Namespaces are currently not supported, so you can use the `local-name()` XPath function instead. Example:
Expand Down

0 comments on commit ed2f2d8

Please sign in to comment.