Categorized | News

Using XSLT templates with ease to transform raw XML data

Posted on 07 October 2002 by Demian Turner

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.

Bookmark and Share

1 Comments For This Post

  1. Anonymous Says:

    You will find more information at this url: http://www.onlamp.com/pub/a/onlamp/2001/03/16/sablotron.html: where to download Sablotron for any platform, how to install it and how to run it fine with PHP.

Leave a Reply

Categories

Books

Demian Turner's currently-reading book recommendations, reviews, favorite quotes, book clubs, book trivia, book lists

Facebook