public override bool MoveToNextAttribute ()
{
if (currentTextValue != null)
return false;
if (currentAttribute == -1)
return MoveToFirstAttribute ();
if (++currentAttribute == attributeCount) {
currentAttribute--;
return false;
}
if (currentAttribute < reader.AttributeCount)
reader.MoveToAttribute (currentAttribute);
consumedAttribute = false;
return true;
}