Applying XSL Templates on the Browser
Internet Explorer 5 has a built-in XSL processor that can apply templates on the client side. This gives you a lot of flexibility because you can generate XML from a Java Server Page and have the browser apply the style sheet to the XML. You must modify the XML file to explicitly embed the style sheet, however. That is, the XML file must use the xsl-stylesheet processing directive to tell the browser which style sheet to use.
The advantage of processing the style sheet on the browser is that you have much more flexibility on your server, and the server isn't bogged down processing style sheets for every user. The main disadvantage is that Internet Explorer 5 is the only browser as of December, 2000 that supports ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access