Hi,
In the following XML snippet,the output has to select all the <template1>ta gs whose <subelem1> value is > 50 and <100
I used the following code to select all the <template1> which has <subemel1> value greater than 50 and lessthan 100:
<xsl:template match="/root/template1[elem1/subelem1 > 50 and < 100] ">
.....
.....
but this is not working.Please reply me how to solve the above problem?
Thanks,
In the following XML snippet,the output has to select all the <template1>ta gs whose <subelem1> value is > 50 and <100
Code:
<root> <template1> <elem1> <subelem1>45</subelem1> </elem1> </template1> <template1> <elem1> <subelem1>55</subelem1> </elem1> </template1> <template1> <elem1> <subelem1>65</subelem1> </elem1> </template1> <template1> <elem1> <subelem1>75</subelem1> </elem1> </template1> </root>
<xsl:template match="/root/template1[elem1/subelem1 > 50 and < 100] ">
.....
.....
but this is not working.Please reply me how to solve the above problem?
Thanks,
Comment