public override bool MoveToNextAttribute() { if (! _asAttrs) return false; if (_attr < AttributeCount-1) { _attr = (_state == State.Attr || _state == State.AttrValue) ? _attr+1 : 0; _state = State.Attr; return true; } return false; }