When I use the codeabove to edit the data in XMl file, XMl file's Structure was destroyed. I am a tyro in Ahk.Please help me solve this problem.Thanks
Code:
StringSplit, ETemArray, EditArrayInfo,`n, `r
xpath_load(pb, "inforamation.xml")
xpath(pb, "/inforamation/person[" . %RowSelect% . "]/Name/text()", ETemArray1)
xpath(pb, "/inforamation/person[" . %RowSelect% . "]/Duration/text()", ETemArray2)
xpath(pb, "/inforamation/person[" . %RowSelect% . "]/Address/text()", ETemArray3)
xpath(pb, "/inforamation/person[" . %RowSelect% . "]/EndTime/text()", ETemArray4)
xpath_save(pb, "inforamation.xml")