diff --git a/pages/osx/xsltproc.md b/pages/osx/xsltproc.md new file mode 100644 index 000000000..28fd6983b --- /dev/null +++ b/pages/osx/xsltproc.md @@ -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}}` \ No newline at end of file