Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (12 sloc) 0.733 kb
6101e44 @StevenLooman Initial commit
authored
1 SaXPath
2 =======
7ee9f0f @StevenLooman Enabling Travis-CI
authored
3 Simple XPath evaluator which runs against a SAX stream. [![Build Status](https://secure.travis-ci.org/StevenLooman/saxpath.png)](http://travis-ci.org/StevenLooman/saxpath)
5a807f1 @StevenLooman README file
authored
4
5 Supported XPath construct as of writing are:
6 - '/'-axis (child)
7 - '//'-axis (self-or-descendant)
8 - node name tests
9 - predicate test (@<attribute_name> = "<literal>")
10
11 Inner workings
12 --------------
13 A state machine is built which the SAX-nodes are tested against. If a node matches, the state machine progresses.
14
15 For self-or-descendant-nodes, the state machine is forked and earch fork (including the parent) is tested against the SAX-nodes. This ensures all nodes are matched. See test/saxpath.js and test/inception.xml for an example.
Something went wrong with that request. Please try again.