XPath/CSS Selector plugin that provides expression evaluation functionality
Core v2.2.0
The XPath plugin evaluates XPath expressions OR CSS selectors against XML/HTML content. It requires both content and expression as sub-elements.
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://org.webharvest/schema/2.1/core">
<!-- Extract single element text -->
<xpath expression="//title/text()">
<html-to-xml>
<http url="https://example.com"/>
</html-to-xml>
</xpath>
</config>