W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > June 1997

Re: Associating stylesheets with documents

From: James Clark <jjc@jclark.com>
Date: Sun, 15 Jun 1997 12:51:24 +0700
Message-Id: <199706150702.BAA26953@jclark.com>
To: <w3c-sgml-wg@w3.org>
> From: Jon Bosak <Jon.Bosak@eng.sun.com>
> Date: Sunday, June 15, 1997 9:14 AM

> 2. Allow multiple xml-stylesheet PIs and cascade them if they are
> written in a language such as CSS for which cascading has been
> defined, but leave the behavior system-dependent if they are not.  (No
> cascading rules have been defined for DSSSL, but there seems to be
> nothing preventing this at some time in the future.)

DSSSL does have a cascading mechanism.  A DSSSL stylesheet can import
multiple other stylesheets (by means of the use attribute on the
style-specification element).  Rules in the importing style sheet override
rules in the imported style sheet, and rules in one imported style sheet
override rules in subsequent imported style sheets.  Specifying that a
document is to be processed using a sequence of style sheets can have
exactly the same semantics as processing it using one style sheet that just
imports that sequence of style sheets.

James
Received on Sunday, 15 June 1997 03:02:43 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:04:41 EDT