Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading (parsing) an XML document with Java

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello All,

I will parsing (reading and recuperating the content ) an XML document with Java and i don't know how can i do it :( !!

I know that i can use Jdom, but i don't how can i installing and using this API.

Someone can help please.

Thanks.
 
smailbamou,

you have two choices:

1) Use Java 1.4, it has built-in support for XML parsing

2) Use the TinyXML package, it is a third-party package which has all the functionality needed to parse XML files. It builds a nice tree of the different tags which you can easily access
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top