var parent = gobjXDocument.DOM.selectSingleNode("//*[local-name()='Sanofi']/*[local-name()='Header']");
var rowOne = parent.selectSingleNode("./*[local-name()='Step']");
//clone first row
var rowClone = rowOne.cloneNode(true);
//set values
rowClone.selectSingleNode("//*[local-name()='UserID']").text = "test";
//append row to XML document
rowOne.insertBefore(rowClone, rowOne);
댓글 없음:
댓글 쓰기