Updated HTMLParser to recognize XML element name and attribute name.