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

Associating DSSSL style sheets with documents

  • From: bosak@a... (Jon Bosak)
  • To: xml-dev@i...
  • Date: Wed, 5 Mar 1997 16:17:45 -0800

dsssl style sheets
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@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!

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.