Skip to content

Commit

Permalink
Merge pull request tldr-pages#146 from greystate/osx-xsltproc
Browse files Browse the repository at this point in the history
Add page for OS X built-in command `xsltproc`
  • Loading branch information
rprieto committed Mar 4, 2014
2 parents 8d6fa52 + 0a67ee4 commit 22f0338
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pages/osx/xsltproc.md
Original file line number Diff line number Diff line change
@@ -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}}`

0 comments on commit 22f0338

Please sign in to comment.