From ab043776f0fd6ce2d2aec1c3eb06c55f65bf1c0c Mon Sep 17 00:00:00 2001 From: Stacey Adams Date: Mon, 5 Oct 2020 09:17:34 -0500 Subject: [PATCH] xmlto: add page (#4445) --- pages/common/xmlto.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/xmlto.md diff --git a/pages/common/xmlto.md b/pages/common/xmlto.md new file mode 100644 index 000000000..bed1b8213 --- /dev/null +++ b/pages/common/xmlto.md @@ -0,0 +1,20 @@ +# xmlto + +> Apply an XSL stylesheet to an XML document. +> More information: . + +- Convert a DocBook XML document to PDF format: + +`xmlto {{pdf}} {{document.xml}}` + +- Convert a DocBook XML document to HTML format and store the resulting files in a separate directory: + +`xmlto -o {{path/to/html_files}} {{html}} {{document.xml}}` + +- Convert a DocBook XML document to a single HTML file: + +`xmlto {{html-nochunks}} {{document.xml}}` + +- Specify a stylesheet to use while converting a DocBook XML document: + +`xmlto -x {{stylesheet.xsl}} {{output-format}} {{document.xml}}`