newElement = doc.createElement("SHORT-NAME"); newElement.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xsi", "http://www.w3.org/2001/XMLSchema"); attribute = doc.createAttribute("xsi:type"); attribute.setValue("VALUE"); newElement.setAttributeNode(attribute);
<SHORT-NAME xsi:type = "VALUE">
<SHORT-NAME xmlns:xsi = "http://www.w3.org/2001/XMLSchema" xsi:type = "VALUE>"
newElement = doc.createElement("SHORT-NAME"); attribute = doc.createAttribute("xsi:type"); attribute.setValue("VALUE"); newElement.setAttributeNode(attribute);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)