[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: making div section with xsl invisible

Subject: RE: making div section with xsl invisible
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Wed, 24 Mar 2004 16:18:45 -0000
div invisible
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@nis
> 
> -----Original Message-----
> From: rj_peterson@xxxxxxxxxxxxx [mailto:rj_peterson@xxxxxxxxxxxxx] 
> Sent: Wednesday, March 24, 2004 8:06 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.