mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 21:02:08 +02:00

* Make placeholders more compatible with CLIP ones: - https://github.com/command-line-interface-pages/prototypes/pull/32 * Update pages/osx/xsltproc.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages/osx/dd.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
12 lines
501 B
Markdown
12 lines
501 B
Markdown
# xsltproc
|
|
|
|
> Transform XML with XSLT to produce output (usually HTML or XML).
|
|
> More information: <http://www.xmlsoft.org/xslt/xsltproc.html>.
|
|
|
|
- Transform an XML file with a specific XSLT stylesheet:
|
|
|
|
`xsltproc --output {{path/to/output_file.html}} {{path/to/stylesheet_file.xslt}} {{path/to/file.xml}}`
|
|
|
|
- Pass a value to a parameter in the stylesheet:
|
|
|
|
`xsltproc --output {{path/to/output_file.html}} --stringparam "{{name}}" "{{value}}" {{path/to/stylesheet_file.xslt}} {{path/to/xml_file.xml}}`
|