def getElementsByTagName(self, name):
if isinstance(name, basestring):<EOL><INDENT>return self.get(name.lower())<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
DOM API: Returns all tags that match name.