In the previous we already explained how XSLT can be used to transforms a
document from XML to XHTML in the browser.We used an
XML parser to do the transformation by JavaScript. The JavaScript solution will not work in a
browser which doesn't have the XML parser.
To make XML data available to all type of browser, we must transform the XML
document on the SERVER and send it as XHTML back to the browser.
It is one the best use of XSLT. One of the design goal for XSLT was to make it
possible to transform data from one format to another on a server. It return
readable data to all kinds of browsers.
|