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

Re: Associating DSSSL style sheets with documents

  • From: lee@s...
  • To: xml-dev@i...
  • Date: Mon, 10 Mar 97 12:24:50 EST

Re: Associating DSSSL style sheets with documents
Jon wrote:

> [James Clark:]
> | <?stylesheet type="text/dsssl" href="style.dsl">
> | <?stylesheet type="text/css" href="style.css" title="A CSS style sheet">
> 
> As the naive content producer, I like this approach.
Yes.  When I mentioned using a PI in my reply to the person from
Japan (I'm sorry, I don't have your name!), this was exactly the
sort of thing I had in mind.

But then, this is more or less what Panorama does.

Of course, it'd have to be
<?XML-STYLE ....?>
for XML, no?

> (I assume that the value of the href can be any URL and that a browser
> that understood this syntax would cache the stylesheet just as it
> would any other recently retrieved resource.)

Yes, most browsers cache all remote resources that they fetch through URLs.
I would expect the href to be a relative/parital URL, as per James'
example, so treated as relative to the document containing the PI --
normally either the DTD or the actual body.

For Panorama, I think the PI has to be in the DTD or subset, although
it might be OK if it's before the DOCTYPE line too.

Note that this is exactly the same problem as finding the DTD, and
the same mechanisms ought to apply.  Ideally, one would be able to
fetch the first/main style sheet and the DTD at the same time, for
the earliest possible display; since the DTD is optional, clearly
the style sheet code can work without it.

Lee


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.