to use for parsing the attribute from xml