Pages

Saturday, December 19, 2009

How to covert XML to HTML using XSLT

In this tutorial you will learn how to use XSLT to transform XML documents into other formats, like HTML.


what is XML?


XML stands for eXtensible Markup Language.
XML is designed to transport and store data.
XML is important to know, and very easy to learn.
refer:http://www.w3schools.com/xml/default.asp


what is XSLT?


XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents.
XSLT stands for XSL Transformations.

refer:http://www.w3schools.com/xsl/

Where to Start?
http://www.php.net/manual/en/xsl.examples.php

System Requirements?

Programming tools: PHP, XSL,XML, DOM
Server Requirements: PHP-XML, PHP-XSL ( check for module installation on your host, using simple php code: < ?php phpinfo(); ? > )
Cross platform : Yes (Safari, Firefox, Opera )

note: no space between < or > and ? in above example