Returns the value of the 'key' attribute for the tag, or the value given for 'default' if it doesn't have that attribute.
(self, key, default=None)
| 588 | text = property(getText) |
| 589 | |
| 590 | def get(self, key, default=None): |
| 591 | """Returns the value of the 'key' attribute for the tag, or |
| 592 | the value given for 'default' if it doesn't have that |
| 593 | attribute.""" |
| 594 | return self._getAttrMap().get(key, default) |
| 595 | |
| 596 | def clear(self): |
| 597 | """Extract all children.""" |