Re: Associating DSSSL style sheets with documents

James Clark (jjc@jclark.com)
Tue, 11 Mar 1997 10:57:45 +0700

At 12:24 10/03/97 EST, lee@sq.com wrote:
>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?

Well, this is something that is applicable to SGML in general not just to
XML. Since <?xml-stylesheet is no more reserved than <?stylesheet in SGML, I
would rather use simply <?stylesheet for SGML. A general-purpose SGML
browser should probably make the keyword user configurable.

I prefer <?xml-stylesheet to <?xml-style because "stylesheet" is used when
linking to external stylesheets in HTML:

<link rel=stylesheet type="text/css" href="style.css" title="A CSS style
sheet">

>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.

Right. It would be relative to the entity containing the PI.

James