mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 21:22:09 +02:00
12 lines
435 B
Markdown
12 lines
435 B
Markdown
# 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 {{output.html}} {{stylesheet.xslt}} {{xmlfile.xml}}`
|
|
|
|
- Pass a value to a parameter in the stylesheet:
|
|
|
|
`xsltproc --output {{output.html}} --stringparam "{{name}}" "{{value}}" {{stylesheet.xslt}} {{xmlfile.xml}}`
|