[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Implementing and Hide/Unhide function in XSL
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|