1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-05 00:35:33 +02:00
tldr/pages/osx/xsltproc.md
Kristopher 7ec3c67a43
xsltproc: fix broken links (#17437)
* Update xsltproc.md

* Update xsltproc.md

* Update xsltproc.md

* Update xsltproc.md

* Update xsltproc.md
2025-07-31 09:21:33 -07:00

487 B

xsltproc

Transform XML with XSLT to produce output (usually HTML or XML). More information: https://manned.org/xsltproc.

  • 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}}