mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:02:08 +02:00
xmlto: add page (#4445)
This commit is contained in:
parent
d51a9b6d8b
commit
ab043776f0
1 changed files with 20 additions and 0 deletions
20
pages/common/xmlto.md
Normal file
20
pages/common/xmlto.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# xmlto
|
||||||
|
|
||||||
|
> Apply an XSL stylesheet to an XML document.
|
||||||
|
> More information: <https://pagure.io/xmlto>.
|
||||||
|
|
||||||
|
- 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}}`
|
Loading…
Add table
Reference in a new issue