To run the examples at the command prompt on a UNIX-like systems execute the following 3 steps: 1. First, create an instance of DjVu XML, using the djvutoxml command: djvutoxml example.djvu tmp.xml 2. Make sure it is encoded in either UTF-8 or UTF-16 before processing with xsltproc or another XSLT processor, if you don't do this step you will recieve errors. Run the commands: xml2utf8 tmp.xml example.xml or xml2utf16 tmp.xml example.xml 3. Run xsltproc over the the processed DjVu XML instance the stylesheets IMPORTANT: An annoyance, if you have some meta files the path in the parameter needs relative to the location of the stylesheet not the file that is being transformed Example XSLT transformation with xsltproc xsltproc --stringparam metafile ./example/meta.xml --stringparam stylesheet djvuxhtml.css --stringparam djvudoc example.djvu --novalid ../djvu2xhtml.xsl example.xml > example.html