xsl-list
[Top] [All Lists]

Re: Passing in a node value

2003-04-22 16:24:46
Passin, Tom wrote:
[ 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.

Yeah, I thought of writing something out like this but I was trying to avoid using file IO to write a second file for performance reasons.


--
"Firing people can give you a pretty good buzz, but it's a poor, poor substitute for killing. I realize that now" - Dale Gribble


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



<Prev in Thread] Current Thread [Next in Thread>