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