def parse_attributes(self, elt, ps):
if self.attribute_typecode_dict is None: <EOL><INDENT>return<EOL><DEDENT>attributes = {}<EOL>for attr,what in list(self.attribute_typecode_dict.items()):<EOL><INDENT>namespaceURI,localName = None,attr<EOL>if type(attr) in _seqtypes: <EOL><INDENT>namespaceURI,localName = attr<EOL><DEDENT>value = _find_attrNodeNS(elt, namespaceURI, localName)<EOL>self.logger.debug("<STR_LIT>", <EOL>namespaceURI, localName, value)<EOL>if value is None: continue<EOL>attributes[attr] = what.text_to_data(value, elt, ps)<EOL><DEDENT>return attributes<EOL>
find all attributes specified in the attribute_typecode_dict in
        current element tag, if an attribute is found set it in the 
        self.attributes dictionary.  Default to putting in String.
        Parameters:
            elt -- the DOM element being parsed
            ps -- the ParsedSoap object.