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(_at_)dstoutput(_dot_)com
[mailto:rj_peterson(_at_)dstoutput(_dot_)com]
Sent: Wednesday, March 24, 2004 9: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: m(_dot_)david(_at_)mdptws(_dot_)com
To unsubscribe, go to:
http://lists.mulberrytech.com/unsub.php/xsl-list/m(_dot_)david(_at_)mdptws(_dot_)com
or e-mail:
<mailto:xsl-list-unsubscribe-m(_dot_)david=mdptws(_dot_)com(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--