How do you use a variable in xsl when trying to select a node?

Question :

How do you use a variable in xsl when trying to select a node?,

Answer :

I would have thought this would be an easy one to Google, but I’ve been unsucessful.

I want to assign a variable the value out of an attribute (easy so far) then use that variable to select another node based on the value of that attribute.

Example:

      

That’s the answer How do you use a variable in xsl when trying to select a node?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you

Read More  Checking available stack size in C