Staging: this is not the live site, pydocs.org.
Structured Markup Processing Tools
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.
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.