public override bool ReadAttributeValue() { if (_state == State.Attr) { _state = State.AttrValue; return true; } else if (_state == State.AttrValue) { return false; } throw new Exception("Not on an attribute."); }