Logo Search packages:      
Sourcecode: zope-parsedxml version File versions

def ParsedXML::DOM::ExpatBuilder::Namespaces::_save_namespace_decls (   self  )  [private]

Save the stored namespace decls and reset the new ones.
This lets us launch another parser and have its namespace declarations
not affect future elements.  Must be called outside of any start/end
namespace_decl_handler calls.

Definition at line 687 of file ExpatBuilder.py.

00687                                    :
        """Save the stored namespace decls and reset the new ones.
        This lets us launch another parser and have its namespace declarations
        not affect future elements.  Must be called outside of any start/end
        namespace_decl_handler calls."""
        self._oldnsmap = self._nsmap
        self._oldprefixmap = self._prefixmap
        self._oldns_prefix_uri = self._ns_prefix_uri
        self._oldns_uri_prefixes = self._ns_uri_prefixes
        self._oldns_ordered_prefixes = self._ns_ordered_prefixes
        self._initNamespaces()

    def _restore_namespace_decls(self):


Generated by  Doxygen 1.6.0   Back to index