XML: Support processing attribute and tag name