The first steps with xsltproc

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.