XSL:if using a drop down menu? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

XSL:if using a drop down menu?

Hi all,
I'm trying to search an XML document using drop down menus. I'm filtering using XSL, but I want to know how to use the output of a dropdown menu to filter the rest of the XML. Here's some basic code:


-
-
Programmer
Not Programmer
-

-
-




-
-
-
-
-
-



NameJobSalary










As you can see, i'm currently filtering using a xml:if function. The current filter will only give me the output of staff who are programmers (). What I want to do is use the output of the drop down menu (list) to use as the filter, e.g. , but I don't know the correct way to do this.

If anyone could help it would be great. Hopefully it's pretty simple.

Cheers.
Sign In or Register to comment.