0 Replies Latest reply on May 18, 2006 8:40 AM by credev

    ArrayInsertAt

    credev
      Hello anyone can help???

      i have an already loaded xmlDoc in which i want to insert a new element at a specific location

      iam using

      ArrayInsertAt(xmlDoc.MyDoc.XmlChildren,1, XmlElemNew(xmlDoc,"TagTR")); //this is working put it adds the element as the first child.

      if i use
      ArrayInsertAt(xmlDoc.MyDoc.XmlChildren,2, XmlElemNew(xmlDoc,"TagTR"));
      to add it after the second element is giving me an error.

      anyone can help?