Subject: RE: 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
| Current Thread |
- RE: include css in xsl
- Passin, Tom - Wed, 19 Mar 2003 10:27:59 -0500 (EST) <=
- <Possible follow-ups>
- Passin, Tom - Wed, 19 Mar 2003 11:20:50 -0500 (EST)
- TP - Wed, 19 Mar 2003 11:49:12 -0500 (EST)
- Robert Koberg - Wed, 19 Mar 2003 12:17:26 -0500 (EST)
- TP - Thu, 20 Mar 2003 10:10:55 -0500 (EST)
|
|