PyDocs

Nav

Structured Markup Processing Tools

Attr

xml.dom

class
Attr inherits from Node, so inherits all its attributes.
Members of Attr

i

isId
Whether this attribute is of type ID, either because it is declared as such in the DTD or because Element.setIdAttribute() was used.

l

localName
The part of the name following the colon if there is one, else the entire name.

n

name
The attribute name.

o

ownerElement
The Element node to which this attribute belongs, or None if it is not used.

p

prefix
The part of the name preceding the colon if there is one, else the empty string.

s

specified
Whether the value of the attribute was explicitly set in the document, as opposed to being defaulted from the DTD.

v

value
The text value of the attribute.
0 Examples
No examples for xml.dom/Attr.
See Also
No see-alsos for xml.dom/Attr
0 Notes
No notes for Attr