Skip to content

Commit

Permalink
xmlto: add page (#4445)
Browse files Browse the repository at this point in the history
  • Loading branch information
staceybellerose committed Oct 5, 2020
1 parent d51a9b6 commit ab04377
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pages/common/xmlto.md
Original file line number Diff line number Diff line change
@@ -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}}`

0 comments on commit ab04377

Please sign in to comment.