Section1.2The Conversion Process to html¶ permalink
To convert source code to html you use xsltproc.
XSL (for eXtensible Stylesheet Language) is a style sheet language for XML documents.
XSLT (for eXtensible Stylesheet Language Transformations) is a language for transforming XML documents into other XML documents, or other formats such as HTML for web pages
xsltproc is a command line tool for applying XSLT stylesheets to XML documents. More info: http://xmlsoft.org/XSLT/xsltproc.html
- An example of very basic xsltproc command is
xsltproc --xinclude ../../mathbook/xsl/mathbook-html.xsl src/my_textbook.xml
--include is needed if you are going to include files, as described in 1.1
Next, you specify the stylesheet path.
Finally, the path to the source code.
The html files go into your working directory.