I have not yet tried anything, but i have seen DOM parser is more easy, i need java build in library to use this.
I am new to this thing..Thinking of using DOM parser.
Thanks
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
0
DOM, SAX and XPath are all built into the JRE. If it's just the data within the value tags, XPath might be the easiest approach.
Glory Bajaj
Greenhorn
Joined: Dec 12, 2012
Posts: 4
posted
0
Ulf Dittmer wrote:DOM, SAX and XPath are all built into the JRE. If it's just the data within the value tags, XPath might be the easiest approach.
Hi,
I actually need to Map this XML to a database table.need to fill values in Database table. Thinking this requiremnet ,Can you please help.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
0
So is the problem XML parsing, or something DB related? It doesn't sound as if both are related, so let's stick to XML parsing in this topic. Once you have the data extracted form the XML, and are encountering problems storing them in a DB, you can then start a new topic in the JDBC/SQL forum.
Glory Bajaj
Greenhorn
Joined: Dec 12, 2012
Posts: 4
posted
0
hi,
Yes, i need java code to parse the given xml in jdk 1.4.
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
1
posted
0
Glory Bajaj wrote:hi,
Yes, i need java code to parse the given xml in jdk 1.4.