How to read value from xml using java?

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

Ads









Related Tutorials/Questions & Answers:
How to read value from xml using java?
Read the value from XML in java
Advertisements
how to read values from java in xml?
how to read and write an xml file using java
How to values from xml using java?
Read XML using Java
how to create xml schema from xml doc using java
read xml using java
how to read values from excel sheet and compare with database using jsp
How to parse the attributes from XML using KXML parser in j2me
How to parse the attributes values from XML using KXML parser in j2me
how to show effect (visual) on jsp page using value from database
how to load value in dropdown list after selecting value from first dropdown list using javascript
how to show value and percentage in piechart sections from database using jfreechart
read value from database & alert it is available in database or not
Read Complex XML using DOM/SAX Parser.
read from file and store using hash map
read XML file and display it using java servlets
how to read from dictionary c
how to read data from excel file through browse and insert into oracle database using jsp or oracle???
how to read and write xml files in javascript
How to read from stdin in python
Java2
read xml
How to generate XML from XSD?
select value from autocomplete textbox using jquery in jsp from database.
select value from autocomplete textbox using jquery in jsp from database.
How to create XML from Swings
download xml file from website using java code
how to read file using InputStreamReader in java
How to access the Title tag from xml to jsp

Ads