Which style first ? Re: Associating DSSSL style sheets with documents

James Clark jjc at jclark.com
Mon Mar 10 03:22:58 GMT 1997


At 20:23 07/03/97 +0900, ksaito at flab.fujitsu.co.jp wrote:
>
> We have an idea about association too. Now we are implementing
>it in our DSSSL System and testing.
>
> Please suggest about this idea if you can. Following is
>description.
>
>
>-- Part.1 Basic concept
>
> This idea is declear style-sheet as external entity and never
>refer it in SGML document. And gives that entity notation which
>indicate style-sheet.
>
>ex) In SGML document prolog.
><!ENTITY style-sheet SYSTEM "style-sheet.dsl" CDATA dsssl>
><!NOTATION dsssl PUBLIC
>  "ISO 10179-1996//NOTATION
>   Document Style Semantics and Specification Language//EN">
>
> In this exapmle, style-sheet is described with DSSSL notation
>and that is identified by sytem identifier "style-sheet.dsl".
>( this DSSSL notation identifier is virtual).
>
> Application recognizes style-sheet by following steps.
> 1) checks declared entieies.
> 2) checks notion of these external entities.
> 3) if some entities have notation which means DSSSL style-sheet,
>    then that application uses these external entity as style-sheet.

I don't think it's safe to assume that an entity is intended to be be used
as a style sheet for some document simply because it is declared in the
document with a style sheet notation.  Suppose for example, somebody was
writing a book about DSSSL: they might declare each of their example style
sheets as being entities with the DSSSL notation.  Another possibility is
that they might be declaring the entity with DSSSL notation so that they
could specify it as the style sheet to be used for some other document that
they refer it.

James


xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa at ic.ac.uk)




More information about the Xml-dev mailing list