|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: include css in xsl
[ 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








