1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 13:18:07 +01:00

Merge pull request #146 from greystate/osx-xsltproc

Add page for OS X built-in command `xsltproc`
This commit is contained in:
Romain Prieto 2014-03-05 07:56:46 +11:00
commit 22f033842e

11
pages/osx/xsltproc.md Normal file
View file

@ -0,0 +1,11 @@
# xsltproc
> Transform XML with XSLT to produce output (usually HTML or XML)
- 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}}`