Associating DSSSL style sheets with documents

James Clark jjc at
Tue Mar 11 04:08:31 GMT 1997

At 12:24 10/03/97 EST, lee at 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

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


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