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

RE: Implementing and Hide/Unhide function in XSL

Subject: RE: Implementing and Hide/Unhide function in XSL
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 11 Jun 2003 08:20:29 +0300
xsl hide
Hi,

> I'm trying to implement a hide/unhide function in XSL for a 
> website.  I have an asp page that generates an XSL document on the 
> fly to access an XML file for only a certain state.
> 
> I would like for the site to have a funciton that unhides all the 
> children of a specific node when I click on a certain table cell.  I 
> think maybe I can use Xpath to do this with XSLT but I really don't 
> have any good ideas.

Based on your description, I assume when ever a user clicks on the table cell you'll reload the XML document with changed XSLT stylesheet. If each node has a unique id (stable one), then pass a list of nodes to be shown to the XSLT stylesheet and use that list to generata the code that chooses whether a node is hidden or not.

> After looking at the default XSL sheet using in IE I am even more 
> confused.  If anyone out there can help that would be great.

The XSLT and XSL stylesheets is IE use ECMAScript and DOM to show and hide node, not XSLT.

Cheers,

Jarno -  Hungry Lucy: Fearful (Aiboforcen)

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


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.