Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Parsing an XML file using DOM parser

843834Jun 2 2004 — edited Jun 2 2004
Hi,
I am having a general XML file.I want to parse the file.For example let us consider this xml file
<college>
<student name ="xxx" number ="yyy">
</college>

This is a generic example i have written.What i have to do is i have to parse this xml file.I don't know the value of students name(here i have given xxx)..I just want to replace this name with a name that i will pass using java program.HOw to go about this...Thank you for your reply in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2004
Added on Jun 2 2004
6 comments
299 views