How can I preview DocBook files in Textastic?

Alexander Blach (Developer) 13 years ago updated 13 years ago 3
You can use Textastic's preview feature with DocBook files if you copy the DocBook xsl stylesheets to Textastic and add a <?xml-stylesheet?> processing instruction:

You can download the xsl stylesheets from http://sourceforge.net/projects/docbook/files/docbook-xsl/

If you want "html" output, you only need the "common", "html", "lib" directories and the "VERSION" file as you can see in the last screenshot.
Here is the xml stylesheet processing instruction I used:

<?xml-stylesheet type="text/xsl" href="docbook-xsl-1.76.1/html/docbook.xsl" ?>