Associating DSSSL style sheets with documents

lee at lee at
Mon Mar 10 17:25:17 GMT 1997

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.


xml-dev: A list for W3C XML Developers
Archived as:
To unsubscribe, send to majordomo at the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa at

More information about the Xml-dev mailing list