visibility:hidden is correct, there isnt a problem with your code.
display:none is different as it doesn't occupy any space.
As per usual, write the html first then once that is correct write the
xslt to produce that html.
<div style="display:none">
<tr>
<td>
Total number: <xsl:value-of select="$foo"/>
</td>
</tr>
</div>
Yov(_at_)nis
-----Original Message-----
From: rj_peterson(_at_)dstoutput(_dot_)com
[mailto:rj_peterson(_at_)dstoutput(_dot_)com]
Sent: Wednesday, March 24, 2004 8:06 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
You are subscribed as: yovanis(_at_)cimex(_dot_)com(_dot_)cu
To unsubscribe, go to:
http://lists.mulberrytech.com/unsub.php/xsl->
list/yovanis(_at_)cimex(_dot_)com(_dot_)cu
or e-mail:
<mailto:xsl-list-unsubscribe-yovanis=cimex(_dot_)com(_dot_)cu(_at_)lists(_dot_)mulber
rytech.com
--+--
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
You are subscribed as: AWelch(_at_)piper-group(_dot_)com
To unsubscribe, go to:
http://lists.mulberrytech.com/unsub.php/xsl-list/AWelch(_at_)piper-group(_dot_)com
or e-mail:
<mailto:xsl-list-unsubscribe-AWelch=piper-group(_dot_)com(_at_)lists(_dot_)mulberrytech(_dot_)c
om>
--+--