Are there any XML Parsers for Ruby that fully support XPath 2.0? -
I need to see if the node exists inside a particular XML document or not. If the node does not exist, then I would like to use another value with XPath 1.0 included in it using the concat
with XPath 2.0, I could get it to work with it If: (Boolean (preferred by path) node) then the path-to-favorite-node and default-to-other-node us This requires the use of XPath 2.0 which excludes nocogiri.
Any help would be greatly appreciated.
Comments
Post a Comment