attributeNameName of the attribute to retrieve from the element.
Zurückgegebener Wert
string
This method returns the value of the attribute.
var factory = shell.serviceManager.maxiXML.factory;
var dom = factory.createDOMDocumentFromPath("c:\\document.xml", false);
var element = dom.documentElement;
var width = element.getAttribute("width");