0 Replies Latest reply on Aug 18, 2015 5:59 AM by aviR

    adding xml attribute only to the first xml tag in an array using loop

    aviR

      Hello all

      I have an arraylist of xml tags. I want to displaynested tag in the indesgn document.

      But i want to add the xml attribute name and its value only to the first xml tag.

      For Ex:  <tag1 attributename=value><tag2><tag3>Hello</tag3></tag2></tag1>

      I am using vb.net and i am getting through each tag using FOR EACH loop.

      If i m adding the values its adding to all the tags. And that is unwanted.

      Please help.

      Thanks