Subject: [xsl] Passing in a node value From: Gregory Propf <gpropf@xxxxxxxxxx> Date: Sun, 20 Apr 2003 15:50:56 -0400
I am trying to create an XML-XSL based menu system for a website. I
want to be able to designate some menu items as "expanded" and others as
not. The idea is that a user clicks a menu link and the frame reloads
with that menu node expanded to show the subitems. I have XML that
looks like this.
The idea is that I want to set the expanded values to true dynamically
as people hit the site and want to see the subnodes. I'll probably be
using Xalan called from a servlet (Java). I initially thought I could
just create a hash with node names as keys. Apparently XSL doesn't
support hashes though. Anyone know how to do this or something that
will be equivalent. Also Can anyone recommend a good xsl-xpath
reference, preferable free and online.
"Firing people can give you a pretty good buzz, but it's a poor, poor
substitute for killing. I realize that now" - Dale Gribble