12 Replies Latest reply: Sep 18, 2009 9:43 AM by dcminter RSS

    Introduce one XML element between other XML elements

    807580
      Hello, I have one XML structure with this structure:
      <?xml version="1.0" encoding="UTF-8"?>
      <Cuentas>
      
      </Cuentas>
      I want to introduce Cuenta nodes between other Cuenta nodes, inside Cuentas principal structure. Something like this
      <?xml version="1.0" encoding="UTF-8"?>
      <Cuentas>
      
      <Cuenta></Cuenta>
      <Cuenta></Cuenta>
      
      </Cuentas>
      The probles is that I want to have something like the first code in my aplication, and when I call to one function introduce inside the structure the new nodes. If I call 1 time only one node, if I call 3 times 3 nodes...

      Someone can say me how can I do that?

      Thanks!