Xtool/XPathSelect

From tehowiki
Revision as of 09:09, 2 September 2016 by imported>Gfis (from documentation.html)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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