I'm posting this in hope of getting some API suggestions.
I'm building a native stream-based Ruby XPath processor (or whatever it
would be called) in order to parse some gigabyte-scale XML files at
work. It will accept multiple XPath expressions and output events (SAX
for now) matching the union of the XPath expressions.
It currently only works with absolute, non-wildcarded, predicate-less
default-axis XPath expressions:
I'm posting this in hope of getting some API suggestions.
I'm building a native stream-based Ruby XPath processor (or whatever
it would be called) in order to parse some gigabyte-scale XML files at
work. It will accept multiple XPath expressions and output events
(SAX for now) matching the union of the XPath expressions.
It currently only works with absolute, non-wildcarded, predicate-less
default-axis XPath expressions: