xsl-list
[Top] [All Lists]

RE: include css in xsl

2003-03-19 08:30:28
[ 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



<Prev in Thread] Current Thread [Next in Thread>