Getting Value from XML and Store In Variable Using XSLT

zubo

New Member
\[code\]<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <Result> <resultDetails> <resultDetailsData> <itemProperties> <ID>1</ID> <type>LEVEL</type> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">5</value> </itemProperties> </resultDetailsData> </resultDetails></Result>\[/code\]I have the xml described above. I want to get the value of value tag (in this case, '5') using the value of the type tag, (i.e., LEVEL in this case) and store it in a variable using XSLT, so that i can use the variable later.Any idea how do I do it ?
 
Back
Top