How to read value from xml using java?

Hi All, I want to read value from following xml using java.. In <Line>,data is in format of key and value pair.. i want to read only values..could u plz help me in this?Thanks in advance

<pre lang="xml">
&lt;?xml version="1.0" encoding="UTF-8" ?> 
&lt;sales>
&lt;item>
&lt;LINE>002:OR,004:0001,002:01,002:01,007:SCEM_02,000:,007:590,000,002:KG,002:PC;/
&lt;/LINE> 
&lt;/item>
&lt;/sales>

Regards, Glory

View Answers









Related Tutorials/Questions & Answers:
Advertisements