txmlnode_addchild.bmx 235 B

123456789101112131415
  1. SuperStrict
  2. Framework Text.xml
  3. Local doc:TxmlDoc = TxmlDoc.parseFile("attributes.xml")
  4. If doc Then
  5. Local node:TxmlNode = TxmlNode(doc.getRootElement().getFirstChild())
  6. node.addChild("ID", "C0122200")
  7. doc.savefile("-")
  8. End If