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

Re: Associating DSSSL style sheets with documents

  • From: "Norbert H. Mikula" <nmikula@e...>
  • To: Jon Bosak <bosak@a...>
  • Date: Thu, 06 Mar 1997 08:15:09 -0800

download prolog i
Jon Bosak wrote:
> 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.

That is the way I have been doing it with my Cappuccino/Yade/PSC_EDB
system.

My NXP/Yade/PSC_EDB system, at least for now, will also do it like this. 

If you have only a few document instances it works fine. If you have
hundrets
of them you probably will get into troubles (for the reason already
pointed out by others)

> James lists some other possibilities:
> 
> | - a processing instruction somewhere in the prolog

I think, at least for XML, we don't want to use PIs too often.

> | - a catalog entry that says unconditionally to use some DSSSL style
> |   sheet

Maybe as a fallbak if other asscociation mechanisms failed....

> | - a catalog entry that associates a DSSSL style sheet with the public
> |   identifier of a DTD

Hmm, I think I would like that. 

> | - make the document serve also as a style sheet by making it conform
> |   to the DSSSL architecture (this will work with Jade too)

Do I understand correct that you want to include the style into the
actual document instance ? Would work of course, but I guess only
if we assume that DSSSL is the only style-spec. mechanism.
Of course I would support that ;-) No, to be serious, I think
we should separate style and instance as much as we can.

------

I do also think the idea with the mime header is worth a try. 

-- 
Best regards,
Norbert H. Mikula

=====================================================
= SGML, DSSSL, Intra- & Internet, AI, Java 
=====================================================
= mailto:nmikula@e... 
= http://www.edu.uni-klu.ac.at/~nmikula
=====================================================



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.