System Grab Bag

View all TLDR pages from Mac OS X (or from all pages)

xsltproc

Transform XML with XSLT to produce output (usually HTML or XML). More information: http://www.xmlsoft.org/xslt/xsltproc.html.
  • Transform an XML file with a specific XSLT stylesheet:
    xsltproc --output {{path/to/output_file.html}} {{path/to/stylesheet_file.xslt}} {{path/to/file.xml}}
  • Pass a value to a parameter in the stylesheet:
    xsltproc --output {{path/to/output_file.html}} --stringparam "{{name}}" "{{value}}" {{path/to/stylesheet_file.xslt}} {{path/to/xml_file.xml}}

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.