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

Re: multiple stylesheets (XSLT and CSS)

From: Tim Bagot <tsb-w3-style-0002@earth.li>
Date: Sun, 15 Apr 2001 19:30:12 +0000 (UTC)
To: <www-style@w3.org>
Message-ID: <Pine.LNX.4.33.0104151927330.13905-100000@windle.hack>
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.


Tim Bagot
Received on Sunday, 15 April 2001 16:18:16 GMT

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