I have a XML and I need to find some data from that using xslt,Here is the XML
<root>
<product>
<id>134021</id>
<bulkdiscountpricelist ></bulkdiscountpricelist>
<webout extra="webout">1</webout>
</product>
<product>
<id>134022</id>
<bulkdiscountpricelist ></bulkdiscountpricelist>
<webout extra="webout">0</webout>
</product>
<product>
<id>134023</id>
<bulkdiscountpricelist ></bulkdiscountpricelist>
<webout extra="webout">1</webout>
</product>
<product>
<id>134023</id>
<bulkdiscountpricelist ></bulkdiscountpricelist>
<webout extra="webout">0</webout>
</product>
</root>
I want to check each id that has webout=1 using XSLT.
I tried a code but it is not working. My code is like
<xsl:value-of select="$result//product/id"/>
$result?