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

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.