<block3>
<tag>
<name>113</name>
<value>Nfeb</value>
</tag>
<tag>
<name>108</name>
<value>20234254321</value>
</tag>
</block3>
Here in above xml we have two tags in block3
.
I don't want 108 tag, so I need to prepare a xslt in that I have to call only 113.
How can i do that? Can anyone please help me!
I would create two templates. One matching all
<tag>
elements which does what you want, this will hit case 113. And then another one overriding it, matching the specific cases which you want to skip.Result against your sample will be
113+Nfeb
.A personally hate
for-each
, but for clarity.