M
Mark Volkmann
The documentation for REXML says is has full XPath 1.0 support.
However, I can't see a way to get the XPath class to return values
other than nodes. For example, if I have an XML document that contains
"book" elements, I should be able to do something like this.
count =3D XPath.evaluate(doc, count('//book'))
There is no "evaluate" method and the "first" and "match" methods don't do =
this.
Is this supported?
However, I can't see a way to get the XPath class to return values
other than nodes. For example, if I have an XML document that contains
"book" elements, I should be able to do something like this.
count =3D XPath.evaluate(doc, count('//book'))
There is no "evaluate" method and the "first" and "match" methods don't do =
this.
Is this supported?