Xtool/XPathSelect

From tehowiki
Jump to navigation Jump to search

Evaluation of an XPath expression

Instead of writing a complete XSLT stylesheet, it is sometimes interesting to apply a single XPath expression to an XML document. This tool shows the resulting node set, enclosed in a <result> element.

Options:

  • -e enc target file encoding, default: UTF-8
  • expr the XPath expression to be applied to the XML document