MSXML NamedNodeMap Object
The NamedNodeMap object is MSXML3.0's support for namespaces and attribute nodes. getNamedItem( name)
This method retrieves the attribute with the given name. getQualifiedItem( baseName, namespaceURI)
This method retrieves the attribute but within the given namespace context. item( index)
This method returns the item at the given index. If there is no such item, None is returned.
nextNode( )
This method returns the next node in the collection.
removeNamedItem( name)
This method removes the given item from the node collection.
removeQualifiedItem( name, namespaceURI)
This method removes the item from the node collection that also is within the supplied namespace.
This method resets the iteration count back to zero. setNamedItem( newItem)
This method adds the supplied node into the collection.
length
The length attribute contains an integer representing the number of items in the collection.
MSXML3.0 NodeList Object
The NodeList is commonly returned by DOM methods that return a collection or list of Nodes. The NodeList features some special methods and properties to make working the list easier.
item( index)
This method returns an item from the list at the given index (zero-based, as Python sequence indexes). If there is no node at index, returns None.
Post a comment