I am using DOM parser to parse an XML. The xml format is :
<PriceList>
<PriceTag>
<Pricing priceCode = "EATIN">
<Price></Price>
<Tax
taxCode = "ALWAYS"
rule = "TAX_CHAIN"
entry = "4"/>
</Pricing>
<Pricing priceCode = "TAKEOUT">
<Price></Price>
<Tax
taxCode = "ALWAYS"
rule = "TAX_CHAIN"
entry = "4"/>
</Pricing>
<Pricing priceCode = "OTHER">
<Price></Price>
<Tax
taxCode = "ALWAYS"
rule = "TAX_CHAIN"
entry = "4"/>
</Pricing>
</PriceTag>
</PriceList>
If the priceCode = "EATIN", I want to read the price.
Can any one help me to implement this.