OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Associating DSSSL style sheets with documents

[ Lists Home | Date Index | Thread Index ]
  • From: bosak@atlantic-83.Eng.Sun.COM (Jon Bosak)
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 5 Mar 1997 21:19:53 -0800

[James Clark:]

| >This is appealingly straightforward, but I wonder how well it
| >accommodates multiple stylesheets
| 
| A DSSSL specification document can contain any number of distinct style
| specifications: it can also contain links to other DSSSL specification
| documents.

That's what I thought, but I haven't tried it yet.

| >and stylesheets that use other
| >notations (CSS, for example).
| 
| Use another extension.

Yes, but then how do you determine precedence if both foo.dsl and
foo.css are found?  That's why I said that a way out (admittedly not a
very good one) would be to default to DSSSL for the time being.

| Another possibility I forgot to mention is to have a parameter on the
| Content-Type header field:
| 
|   Content-Type: text/xml; stylesheet=foo.dsl
| 
| This is only going to work in the context of HTTP.

Well, HTTP delivery is what I'm trying to get set up.

| 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.

Both the xml and dsssl content-type registrations are hanging right
now for lack of time to deal with the IANA paperwork.  I'd be glad to
hand these off to any individual or ad hoc working group with
experience in MIME type registration.

Jon


xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS