method removeAttribute

void removeAttribute(string attributeName);

Argumente

Zurückgegebener Wert

Remove the attribute with the specified attributeName.
    var factory = shell.serviceManager.maxiXML.factory;
    var dom = factory.createDOMDocumentFromPath("c:\\document.xml", false);
    var element = dom.documentElement;
    var elementName = element.removeAttribute("width");