System Grab Bag

View all TLDR pages from common (or from all pages)

xml transform

Transform XML documents using XSLT. More information: http://xmlstar.sourceforge.net/docs.php.
  • Transform an XML document using an XSL stylesheet, passing one XPATH parameter and one literal string parameter:
    xml transform {{path/to/stylesheet.xsl}} -p "{{Count='count(/xml/table/rec)'}}" -s {{Text="Count="}} {{path/to/input.xml|URI}}
  • Display help for the transform subcommand:
    xml transform --help

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.