More PHP, XML and XSL for Wireless Content (Page 1 of 3 )
This article is another illustration of why using PHP with XSL to transform XML data to various presentation layers is beneficial. With that being said this article will demonstrate how to present the same data to several different wireless technologies using PHP and XSL, instead of an article completely focused on PHP and XSL.
There are plenty of articles on the web that already do this, but most them only focus on presenting data through HTML. This is what this article is for to give more examples of XSL other then with HTML. A recent article on "Using PHP and XSL to Transform XML into Web Content" by Benson Wong is available at Zend.com.
XSL (eXtensible Stylesheet Language) is used to transform XML into data/form for a particular device whether it be a screen, voice or paper so that it can understand what the XML data is. Reason being XML tags are not predefined so devices like browsers are unable to understand XML and that is what XSL is for. At the same time it allows for different stylesheets to be applied to the same XML data for different devices as the following examples will show.