Results 1 to 2 of 2
  1. #1
    SindhuP is offline Member
    Join Date
    Aug 2012
    Rep Power

    Default How to read Nested Child elements with same Node Name in XML

    Hi All,
    I have a scenario where, I need to parse a deeply nested XML structure. I have to get the data of all the elements iterating through the structure. I am able to read the data of every element. But, the problem is, as the XML is having multiple child nodes with same name, its overwriting the particular node data while writing to the string buffer. Could anyone help me to find out the way, where I can have given XML data in a string buffer basing on the XMl stucture.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: How to read Nested Child elements with same Node Name in XML

    Moved from New to Java

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 11
    Last Post: 02-08-2012, 03:43 PM
  2. Access Parent and child node
    By emyk in forum Advanced Java
    Replies: 0
    Last Post: 05-03-2011, 12:16 AM
  3. Get selected Node Value of a child element
    By Ms.Ranjan in forum XML
    Replies: 6
    Last Post: 10-06-2009, 10:31 PM
  4. How to add different menuitems to child node
    By sudhakar.cheru in forum AWT / Swing
    Replies: 2
    Last Post: 09-16-2009, 07:32 AM
  5. How to get value of specific child node
    By sito42 in forum New To Java
    Replies: 1
    Last Post: 07-13-2009, 01:00 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts