2025-03-14 21:59:59 -06:00
|
|
|
# xsltproc
|
|
|
|
|
|
|
|
|
|
> Transform XML with XSLT to produce output (usually HTML or XML).
|
2025-09-14 18:48:49 -06:00
|
|
|
> More information: <https://manned.org/xsltproc>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|