Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
xmlto Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`