Insert the namespace-handlers onto the parser.
(self, parser)
| 720 | return parser |
| 721 | |
| 722 | def install(self, parser): |
| 723 | """Insert the namespace-handlers onto the parser.""" |
| 724 | ExpatBuilder.install(self, parser) |
| 725 | if self._options.namespace_declarations: |
| 726 | parser.StartNamespaceDeclHandler = ( |
| 727 | self.start_namespace_decl_handler) |
| 728 | |
| 729 | def start_namespace_decl_handler(self, prefix, uri): |
| 730 | """Push this namespace declaration on our storage.""" |
no outgoing calls