[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Stylesheet type for xslt?

Subject: Re: Stylesheet type for xslt?
From: "Paul W. Abrahams" <abrahams@xxxxxxxxxxx>
Date: Mon, 09 Aug 1999 23:18:25 -0400
stylesheet type
 
 
               From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
               Date: Mon, 9 Aug 1999 12:36:16 -0400 (EST)

               At 9 Aug 1999 12:07 -0400, Paul W. Abrahams wrote:
                > It's possible to associate a CSS2 stylesheet with an XML document by
                > including the processing instruction
                >
                >    <?xml-stylesheet href="" type="text/css" ?>
                >
                > What is the correct type for an XSLT stylesheet?
                >
                > And by the way, what use if any do the `title', `media', and `charset'
                > pseudo-attributes have when used in such a processing instruction?  They
                > are carried over from HTML links.

               See http://www.w3.org/TR/xml-stylesheet/

               Regards,
 

               Tony Graham
 
The questions I asked came up *after* reading the TR.  It merely refers back to the HTML spec for information about `title', `media', `type', etc.  And the HTML spec doesn't define types either; it in turn refers to the MIME spec.  It wasn't entirely clear whether `text/css' works for CSS1, CSS2, or both.
Nor was it clear how `title' or `media' would be useful in the context of the xsl-stylesheet PI.

There was nothing I could find in the MIME reference that would seem to apply to xslt stylesheets, unless perhaps it's `type=text/xml' or `type=application/xml'.  No way to determine whether either of those is correct.

Paul Abrahams
 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.