[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] include css in xsl
Subject: RE: [xsl] include css in xsl
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 19 Mar 2003 10:30:28 -0500
|
[ TP]
> within the stylesheet I have
> -----------------------------------------------------------
> <style type="text/css">
> <xsl:comment><![CDATA[
> hr {color: sienna}
> p {margin-left: 20px}
> body { background-color: white;
> font-size:7pt;
> color:black;
> font-family:verdana,arial
> }
> //-->
> ]]>
> </xsl:comment>
> </style>
> -----------------------------------------------------------
> I want to include the css as a separate stylesheet file. The
> css file should
> be placed in the same folder as the other stylesheets.
>
Just turn the style element into a stand-alone xml document, and bring
it in using document().
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|