This action executes XPath 1.0 expression on a given document. It uses xmldom and xpath modules for Node.js.
Required The path to HTML or XML document.
Required XPath 1.0 expression.
Optional XML namespaces in JSON format.
Evaluated items joined with a newline.
uses: QwerMike/xpath-action@v1
with:
filename: 'test.xml'
expression: '//movie/year/text()'