Lists Home |
Date Index |
- From: firstname.lastname@example.org
- To: email@example.com
- Date: Mon, 10 Mar 97 12:24:50 EST
> [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
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: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (email@example.com)