Re: Associating stylesheets with documents

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