My question is: what are the actual โmechanicsโ of getting the XSLT processor (which, as I understand it, is built into all web browsers) to read the XML and XSLT stylesheet files and output an HTML document that will then be displayed in the browser?
This is the task of the particular HTML browser used to invoke its XSLT processor. The browser then interprets the results of the XSLT transformation as the HTML that should be displayed. Note that in general, browsers are not required to support XSLT preprocessing, so there may be browsers that do not have an associated XSLT processor, and do not follow the xml-stylesheet PI for the type="text/xsl" pseudo-attribute.
For more information, read the W3C specification on the Linking Style Sheets to XML Documents page .
To test the XSLT conversion in this somewhat primitive way , you can open the XML file in your browser (do your homework and learn how to open the local file from the browser) and examine the results using the "View Source" or similar command.
Of course, I do not recommend this primitive method . it is much better to use one of the many existing XSLT IDEs such as XSelerator, oXygen, Visual Studio, ... etc.
Dimitre novatchev
source share