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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   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 16:17:45 -0800

Within the next week or so, I expect to announce the availability of a
Web server that can respond to certain kinds of URLs with an XML data
stream (eventually, a variety of XML data streams).  For our own
design purposes, and also for the purposes of experimenters working
with combined XML/DSSSL applications, I would like to see this group
come up with an unofficial method or methods by which to associate a
DSSSL style sheet with a particular chunk of XML.  Such methods would
be far in advance of the sgml-wg specification effort and subject to
later revision, but given the influence of experimental
implementations, I think that it's appropriate to put a little bit of
thought into the design.

One possible method suggested by James Clark (thank you, James) is to
adopt the convention used by Jade in the absence of the -d option:
replace the extension of the document entity's URL or file name with
.dsl and fetch that.  Thus, if a browser fetches

   http://docs.sun.com/foo/bar.html

then it should also look for

   http://docs.sun.com/foo/bar.dsl

and apply it to bar.html if found.

This is appealingly straightforward, but I wonder how well it
accommodates multiple stylesheets and stylesheets that use other
notations (CSS, for example).  Of course, we could deal with the
second concern by saying that DSSSL is the default stylesheet language
for XML experimentation and that we will figure out some way to
accommodate other stylesheet languages later.

James lists some other possibilities:

| - a processing instruction somewhere in the prolog
| 
| - a catalog entry that says unconditionally to use some DSSSL style
|   sheet
| 
| - a catalog entry that associates a DSSSL style sheet with the public
|   identifier of a DTD
| 
| - make the document serve also as a style sheet by making it conform
|   to the DSSSL architecture (this will work with Jade too)

Any thoughts on this?  I am, of course, particularly interested in
hearing from those of you who are actively building DSSSL
applications.

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