Subject: Associating stylesheets with XML, and text/xml-xsl (was RE: XSL E xamples..) From: Mike Brown <mbrown@xxxxxxxxxxxxx> Date: Tue, 5 Oct 1999 10:26:29 -0600 |
Joy Daniel wrote: > How do I now prepare the valid > XML document (based on the valid DTD that I have created) > to be displayed using the XSL that I would prepare? In > other words, what are the tags that I should add in the XSL > or the XML document that would indicate that the tags from > this particular XML document (say x.xml) are to be > formatted using the XSL style sheet (y.xsl)? This is the subject of a very brief W3C Recommendation: http://www.w3.org/TR/xml-stylesheet/ And the IE5 implementation: http://msdn.microsoft.com/xml/xslguide/browsing-xsl.asp Please take note that IE5 currently implements only part of the December Working Draft of XSL, and that the syntax and features of the current Working Drafts (XSL, XSLT, XPath) have changed *significantly* since the IE5 implementation was developed. Microsoft is waiting for the specs to reach Recommendation status before updating their XSL processing engine. Also, the use of "text/xsl" as recommended in the msdn link above is only appropriate if you have the text/xsl media type registered in your operating system (which happens if you install IE5, or certain other XSL-aware applications). If a recent IETF Internet Draft, http://www.ietf.org/internet-drafts/draft-murata-xml-00.txt, is to be taken seriously, the correct type will be "text/xml-xsl" or "application/xml-xsl" depending on how the document is intended to be handled. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: How to optimize xsl documents t, Khun Yee Fung | Thread | XSL transformation from a java serv, Clay_Rowland |
XT Javadocs?, Mitch Christensen | Date | RE: How to optimize xsl documents t, Mike Brown |
Month |