public bool UseDOM {get; set;}
Property Value
This defaults to false; set this to true before calling
Consume(XmlReader) if you need to be able to "look-ahead" in the XML by traversing the DOM. This value is automatically set to true if you call
Consume(XmlDocument).