(self)
| 709 | """Mix-in class for builders; adds support for namespaces.""" |
| 710 | |
| 711 | def _initNamespaces(self): |
| 712 | # list of (prefix, uri) ns declarations. Namespace attrs are |
| 713 | # constructed from this and added to the element's attrs. |
| 714 | self._ns_ordered_prefixes = [] |
| 715 | |
| 716 | def createParser(self): |
| 717 | """Create a new namespace-handling parser.""" |