com.caucho.xpath.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resin Show documentation
Show all versions of resin Show documentation
Resin Java Application Server
Finding and selecting XML nodes using XSL patterns. The Xql package
implements the pattern matching of the July 1999, W3C XSLT draft. It
provides a simple API to find XML nodes.
To find the first table with an image at any
depth beneath the source node:
Node found = Xql.find(".//table[.//img]", node);
Or to select all tables in all sections below the current node:
Iterator iter = Xql.select("section/table", node);
Patterns can also be compiled.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy