Merge pull request #146 from greystate/osx-xsltproc
Add page for OS X built-in command `xsltproc`
This commit is contained in:
11
pages/osx/xsltproc.md
Normal file
11
pages/osx/xsltproc.md
Normal 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}}`
|
Reference in New Issue
Block a user