[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Associating DSSSL style sheets with documents
| Content-Type: text/xml; stylesheet=foo.dsl | | This is only going to work in the context of HTTP. This is not going to work if you have multiple stylesheets associated with a document unless you use multipart MIME bodies, and then we're right back to MIME-SGML. I favor Don's proposal because it had the right semantics for both HTTP, amd email (ie. it could pull or push). | The type of the stylesheet could be indicated by its Content-Type, and | the client could use content-type negotiation to ensure it gets the | kind of stylesheet it can handle. Somebody should probably register a | MIME content-type for DSSSL style sheets as well. Content negotiation only takes you so far, and is HTTP specific *and* spottily implemented. It also only allows you to negotiate on the *type* of the resource, and a few other things. It does not help if you have multiple resources each of which are of equivalent quality *and* that the user may like to choose between. xml-dev: A list for W3C XML Developers Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To unsubscribe, send to majordomo@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|