Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

parsing XML file in java  RSS feed

 
Raj kalaria
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I dont know if i am posting in correct forums, so if it not please pardon me.

I am trying to create a xml file and then parse(read) that xml file in java .
can some one suggest me some tutorials for it. I tried to search on the google but did not get the expected results. So i thought if some of you guys might help me out.

Any comments/help would be appreciated

Raj
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a number of APIs for creating and parsing XML - JAXP (which is kind of the standard), DOM, dom4j, JDOM, XOM, ... I like XOM (which has examples and tutorials on its web site), but JAXP (search on java.sun.com) is the Sun-blessed API.
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have posted a quick list of XML parsing technologies (some with intro's/tutorials) in:
need help with document based web services
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!