|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Passing in a node value
[ Gregory Propf] > > Ok, I didn't read that carefully. So you use a parameter with a name > like root_item_sub_item1_sub_sub_item1 and then select for when that > parameter is set and matches the node id, right? So I need as many > parameters as nodes. That seems messy to me. I'd rather set > the node > value somehow. I'm getting the idea this is not possible. > Assuming that the work would be done at the server, you could create a second xml file that contains a list of the nodes to expand, and use document() to give the stylesheet access to it. Whenever a node is identified as one from the list, the stylesheet indicates it should be expanded. You could use a key to make this quick and easy. Another approach is to expand the menus using javascript, and use the list of nodes to write a bit of javascript to do it. You could pass the nodes for expansion as a javascript array or associative array. Cheers, Tom P 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
|

Cart








