XPathExpression |
![]() ![]() |
import com.sleepycat.dbxml.*;public class XPathExpression extends Object { XPathExpression(int flags) throws DbException; ... }
An XPathExpression represents a parsed XPath expression. They are created with XmlContainer.parseXPathExpression and evaluated with XmlContainer.queryWithXPath.
Parsed XPath expressions are useful as the cost of the expression parsing and optimization can be amortized over many evaluations.
XmlDocument.getAttributeValue, XmlDocument.getContent, XmlDocument.getID, XmlDocument.getName, XmlDocument.getType, XmlDocument.setContent, XmlDocument.setName, and XmlDocument.setType.
![]() ![]() |