(self, ns, nsmap)
return None
Returns a namespace prefix for a given nsmap. This is used because lxml Element nsmap
        dictionaries are formatted as '{prefix:namespace}'

        Keyword arguments:
        ns -- the namespace we are attempting to find a prefix for
        nsmap -- a dictionary containing prefix-to-namespace mappings
Returns a namespace prefix for a given nsmap. This is used because lxml Element nsmap
        dictionaries are formatted as '{prefix:namespace}'
Returns a namespace prefix for a given nsmap . This is used because lxml Element nsmap dictionaries are formatted as { prefix : namespace }
def _get_prefix_for_namespace(self, ns, nsmap):
        """Returns a namespace prefix for a given nsmap. This is used because lxml Element nsmap
        dictionaries are formatted as '{prefix:namespace}'

        Keyword arguments:
        ns -- the namespace we are attempting to find a prefix for
        nsmap -- a dictionary containing prefix-to-namespace mappings
        """
        for k,v in nsmap.iteritems():
            if v == ns:
                return k

        return None
def _get_prefix_for_namespace ( self , ns , nsmap ) : for k , v in nsmap . iteritems ( ) : if v == ns : return k return None