I am trying to set the condition when price is greater than 100 or less than 50 it should output, however with the following condition I am getting all results outputted.
<xsl:for-each select=".//G_1/Product[.//PRICE >'100' or .//PRICE <'50' ]"><?PRICE?></xsl:for-each>
The XML
<?xml version="1.0" encoding="UTF-8" ?>
<DATA_DS>
<G_1>
<Product>
<OBJECT_ACTION_ID>79071819</OBJECT_ACTION_ID>
<Details>
<ID>170057541</ID>
<NAME>ITEM NAME</NAME>
</Details>
<Rec>
<Rec1>
<Rec_Detail>
<C_Product_ID>300000155370949</C_Product_ID>
<PRICE>200</PRICE>
</Rec_Detail>
</Rec1>
</Rec>
</Product>
<Product>
<OBJECT_ACTION_ID>79071820</OBJECT_ACTION_ID>
<Details>
<ID>170057542</ID>
<NAME>ITEM NAME2</NAME>
</Details>
<Rec>
<Rec1>
<Rec_Detail>
<C_Product_ID>300000155370950</C_Product_ID>
<PRICE>90</PRICE>
</Rec_Detail>
</Rec1>
</Rec>
</Product>
</G_1>
</DATA_DS>