How to read value from xml using java?

Ads
 

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 read xml file value in dojox chart - XML
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?
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 read this xml file - XML
read xml using java
How to read all value from int buffer in java.
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 retrieve data from database using combobox value without using request.getParameter in jsp - JSP-Servlet
how to show value and percentage in piechart sections from database using jfreechart
how to read from dictionary c
Retrieving attribute value from XML
Read Complex XML using DOM/SAX Parser.
difference between java5 and java6 - Java Beginners
read value from database & alert it is available in database or not
how to read and write xml files in javascript
Java2
read from file and store using hash map
read XML file and display it using java servlets
how to read data from excel file through browse and insert into oracle database using jsp or oracle???
Retrieve data from xml using servlets
how to update xml from java - XML
read xml

Ads