Further reading

The usage of xsltproc is explained in some detail here.