2014-03-04 21:08:56 +01:00
|
|
|
# xsltproc
|
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
> Transform XML with XSLT to produce output (usually HTML or XML).
|
2014-03-04 21:08:56 +01:00
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Transform an XML file with a specific XSLT stylesheet:
|
2014-03-04 21:08:56 +01:00
|
|
|
|
2014-03-04 21:10:51 +01:00
|
|
|
`xsltproc --output {{output.html}} {{stylesheet.xslt}} {{xmlfile.xml}}`
|
2014-03-04 21:08:56 +01:00
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Pass a value to a parameter in the stylesheet:
|
2014-03-04 21:08:56 +01:00
|
|
|
|
2015-10-28 14:03:06 +05:30
|
|
|
`xsltproc --output {{output.html}} --stringparam {{name}} {{value}} {{stylesheet.xslt}} {{xmlfile.xml}}`
|