From 5a2980ea7722e8033d6787fc98ddde8ab09eef7f Mon Sep 17 00:00:00 2001 From: Chriztian Steinmeier Date: Tue, 4 Mar 2014 21:08:56 +0100 Subject: [PATCH 1/2] Add page for `xsltproc` --- pages/osx/xsltproc.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/osx/xsltproc.md diff --git a/pages/osx/xsltproc.md b/pages/osx/xsltproc.md new file mode 100644 index 0000000000..d2f273ee30 --- /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 From 0a67ee4d957f912a486a9935702eb143728f0212 Mon Sep 17 00:00:00 2001 From: Chriztian Steinmeier Date: Tue, 4 Mar 2014 21:10:51 +0100 Subject: [PATCH 2/2] Correct tokens --- pages/osx/xsltproc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/osx/xsltproc.md b/pages/osx/xsltproc.md index d2f273ee30..28fd6983bd 100644 --- a/pages/osx/xsltproc.md +++ b/pages/osx/xsltproc.md @@ -4,8 +4,8 @@ - Transform an XML file with a specific XSLT stylesheet -`xsltproc --output {output.html} {stylesheet.xslt} {xmlfile.xml}` +`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 +`xsltproc --output {{output.html}} --stringparam {{name}} {{value}} {{stylesheet.xslt}} {{xmlfile.xml}}` \ No newline at end of file