M: XmlParser: add attribute processing before returning value.