SGML for Windows NT: Setting up a free SGML/XML editing and publishing system on the Windows platform | ||
---|---|---|
Prev | Chapter 11. xsltproc: a XSLT engine in C | Next |
To see what xsltproc can do for us, we'll use the XML document and stylesheet that we created in the previous chapter. We will try to generate a HTML rendering of the XML document.
To this end, change to the directory that contains these files and run the following command in your shell:
C:\user\myself>xsltproc test.xsl test.xml > test.html |
View the resulting test.html file in your favourite browser. You should see a nicely formatted HTML representation of your XML document.