Sorry for being unclear. I need the values from all the tags. That is for the line <config Name="appname" Version="0.1" >, I want to get the value of the attributes Name and Version. This applies to all the tags.
[ Removed my original post to reflect the fact that the screen name is OK. I didn't know that "Joe" is a proper last name - now I do. Sorry about that. ] [ June 21, 2006: Message edited by: Ulf Dittmer ]
If Iam correct, the display naming policy states that the display name should be First Name Space Last Name. My First Name is Venish and Last Name is Joe. I don't know if I missed out something. Please advice if Iam missing some points.
Try XMLBeans . Given a schema and the xml, getting the values is pretty straight forward. Download XMLBeans from Apache. This converts the xml nodes to objects. Now, you can manipulate the objects the get the required data.
iam sorry tat u didnt mention clear info about wat u want to read u can parse an xml document by using DOM and sax parser if u wnt for read only purpose go sax parser and if u want to modify the data in an xml document go for DOM parser ok
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop