 |
 |
 |
Python库参考手册(Python Library Reference) |
 |
 |
7.2.2.8 NamedNodeMap Objects
NamedNodeMap does not inherit from Node.
- length
-
The length of the attribute list.
-
Return an attribute with a particular index. The order you get the
attributes in is arbitrary but will be consistent for the life of a
DOM. Each item is an attribute node. Get its value with the
value attribbute.
There are also experimental methods that give this class more mapping
behavior. You can use them or you can use the standardized
getAttribute*() family of methods on the Element
objects.
 |
 |
 |
Python库参考手册(Python Library Reference) |
 |
 |
版本 2.3.3, 文件最后更新时间 译文最后修改: 三月 22, 2004.