Class XmlXPathTemplateHelper
java.lang.Object
org.mockserver.templates.engine.helpers.XmlXPathTemplateHelper
XPath evaluation helper for templates: evaluate an XPath expression against an
XML document and return the string result. Uses the JDK
javax.xml.xpath
APIs (these stay in the javax namespace per the Java compatibility
policy — they are JDK classes, not the jakarta-migrated EE ones).
The XML parser is hardened against XXE by disabling DOCTYPE declarations and external entity resolution.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XmlXPathTemplateHelper
public XmlXPathTemplateHelper()
-
-
Method Details