[Home] [By Thread] [By Date] [Recent Entries]
> The W3C web server serves it as xml, and through sleight of hand > (xml-stylesheet), as html too. No sleight of hand... the server serves it as xml, so the browser parses it using it's xml parser instead of its sgml parser... by default it will then transform the xml using an internal xslt 1.0 to create the pretty printed view you get when view xml in the browser, or as in this case there is the stylesheet PI so the browser also fetches the xslt and then applies that to the xml, presenting the result. As far as the server is concerned it just served 2 xml files. That's how I understand the process, if that's not right someone will correct me :) -- Andrew Welch http://andrewjwelch.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



