Check out the following example in order to see how easy it is to use
XSLT to produce your target HTML from a remote or local XML file.
All that’s required is the following PHP class that will produce the XML
and then merge the result with an XSLT template. The example will
demonstate the advantages of using XSLT over other templating systems.
Note: In order to run this example you will need the XPAT library for PHP installed on your server.