Link Search Menu Expand Document

XmlNamedNodeMap[ ] Operator

Explanation Extract the nodes in an array format.
Call format map[ name ]
Return value XmlNode object
Return null if no node is found.
Arguments String name The name of the node to be retrieved
Exception None
Example of use
    var domimpl = new XmlDOMImplementation;
    var res = session.get("/test/sample.xml");
    var xmldoc = domimpl.Load(res);
    var map = xmldoc.DocumentElement.Attributes;
    print(map["width"].NodeName, "\n");
    map["width"].NodeValue = "100";
    
Related item XmlNode class
GetNamedItem, SetNamedItem methods