[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] making div section with xsl invisible


Subject: RE: [xsl] making div section with xsl invisible
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Wed, 24 Mar 2004 09:18:03 -0700

In trying to reproduce visibility:hidden works fine for me but you might
try display:none and see if that helps.  Obviously more of a CSS
question than an XSL question (as long as you are getting the correct
output in your HTML then its not and XSL problem but possibly a browser
issue -- have you checked your source file to ensure its being output
correctly?) so if the display:none doesn't help I would try one of the
CSS lists as they deal with this kind of stuff all day long :)

Best of luck!

<M:D/>

-----Original Message-----
From: rj_peterson@xxxxxxxxxxxxx [mailto:rj_peterson@xxxxxxxxxxxxx] 
Sent: Wednesday, March 24, 2004 9:06 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] making div section with xsl invisible





In my xsl template I have the following code snippet.

<div style="visibility:hidden">
  <tr>
     <td>
       Total number: <xsl:value-of select="$foo"/>
     </td>
  </tr>
</div>

When I render the page this div section still appears.  I also tried
using
the following with the same reuslts.

<div><xsl:attribute name="style">visibility:hidden</xsl:attribute>

Am I missing something simple here?

Thanks


Current Thread
Keywords
xsl