I gave an XML file and one tag contains number of attributes. However one of them sometimes gets skipped. Exampe:\[code\]<data> <item attribute0="value 0" attribute1="value 1" attribute2="value 2"> <item attribute0="value 0" attribute1="value 1"> <item attribute0="value 0" attribute1="value 1" attribute2="value 2"></data>\[/code\]I am using SAX parser to handle this file and in a \[code\]startElement\[/code\] method I am getting all the attribute's values but before getting \[code\]attribute2\[/code\] I need to check if it exists.