Re: [xsl] CSS

Subject: Re: [xsl] CSS
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 4 Aug 2003 07:41:20 -0600 (MDT)
Jarkko Moilanen wrote:
> On Mon, 4 Aug 2003, AROSO Jose Antonio wrote:
> 
> > Hi...
> >
> > Is it possible to use cascade style sheets with XSL?
> 
> Yes.
> 
>   <!-- Internal CSS -->
>   <style type="text/css">
>    p.element-syntax { border: solid thin }code { font-family: monospace }
>   </style>

Its possible the reader had tried something like

   <style type="text/css">
<!--
    p.element-syntax { border: solid thin }code { font-family: monospace }
-->
   </style>

... only to discover the CSS code missing, due to it being a comment in the
XSLT stylesheet. The solution:

   <style type="text/css">
     <xsl:comment>
    p.element-syntax { border: solid thin }code { font-family: monospace }
</xsl:comment>
   </style>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread