W3C home > Mailing lists > Public > www-style@w3.org > April 2001

Re: multiple stylesheets (XSLT and CSS)

From: fantasai <fantasai@escape.com>
Date: Mon, 30 Apr 2001 23:32:44 -0400
Message-ID: <3AEE2E5C.41A3C397@escape.com>
To: www-style@w3.org
Tim Bagot wrote:
> 
> At 2001-04-15T14:58-0400, fantasai wrote:-
> 
> > 1.) If both an XSLT stylesheet and a CSS stylesheet are applied
> >     to a single document, what happens?
> 
> > 2.) If two XSLT stylesheets are both applied to a single
> >     document, how do they interact?
> 
> I think both questions are answered by
> <http://www.w3.org/TR/html40/present/styles.html#h-14.4>:-
> 
>   Cascading style sheet languages such as CSS allow style information
>   from several sources to be blended together. However, not all style
>   sheet languages support cascading. To define a cascade, authors
>   specify a sequence of LINK and/or STYLE elements. The style
>   information is cascaded in the order the elements appear in the HEAD.
> 
>   Note. This specification does not specify how style sheets from
>   different style languages cascade. Authors should avoid mixing style
>   sheet languages.

No, it only gives an example of a cascade that has been defined and 
recommends not mixing stylesheet languages. It doesn't say you can't 
or shouldn't do this and it doesn't prevent XSLT from defining its own 
"cascade".
Received on Monday, 30 April 2001 23:31:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:09 GMT