Element, context); //Read the attributes on the root element. DTD entities are an example of this, but this is not limited to DTDs.
The base URI tells you where these nodes came from.
If this reader will be validating using DTD (that is, Xml Validating Reader. Note It is not possible to validate a fragment using DTD.
By definition DTD requires an entire document to be loaded for validation.
Any properties set on the given Xml Text Reader also applies to this validating reader.
For example, if the supplied reader had Whitespace Handling.
It skips over nodes of the following type: Processing Instruction, Document Type, Comment, Whitespace, or Significant Whitespace.Xml Resolver property sets the Xml Resolver object to use for resolving external resources.The Xml Parser Context in which the XML fragment is to be parsed.If this reader will be validating using XML-Data Reduced (XDR) or XML Schema definition language (XSD) schemas, use the Xml Validating Reader.Schemas property to specify the Xml Schema Collection containing the schemas (that is, the Xml Parser Context does not need to supply the Document Type information).
The reader normalizes each individual text node independently from the content of adjacent entity reference nodes.