public override bool MoveToNextAttribute () { if (++current_attr < attr_count) { current = attributes [current_attr]; return true; } else { --current_attr; return false; } }