Hai,
My XML Data is as follows:
I need to display only the tax rate as 12.5% in the Tax name. I have used
<xsl:value-of select="substri ng-beforeTAXNAME,' %')"/>
it outputs the value as CST 12.5.
Is there any possibility to fetch the numeric value alone from the XML data tag. Please reply me with the code.
Thanking you
My XML Data is as follows:
Code:
<TAXDETAIL>
<EACHTAX>
<TAXNAME>CST 12.5 % On Equipments</TAXNAME>
<TAXVALE>1091.25</TAXVALE>
</EACHTAX>
<EACHTAX>
<TAXNAME>CST 2 %</TAXNAME>
<TAXVALE>174.60</TAXVALE>
</EACHTAX>
<EACHTAX>
<TAXNAME>VAT 12.5%</TAXNAME>
<TAXVALE>1249.48</TAXVALE>
</EACHTAX>
</TAXDETAIL>
<xsl:value-of select="substri ng-beforeTAXNAME,' %')"/>
it outputs the value as CST 12.5.
Is there any possibility to fetch the numeric value alone from the XML data tag. Please reply me with the code.
Thanking you
Comment