You may simply want to look at the contents of an XML document without bothering to create objects that represent its elements. This is especially true if your application uses generic documents with varying structures. It is in these cases when the %XML.TextReaderOpens in a new tab class comes in handy.
The %XML.TextReaderOpens in a new tab class, as its name implies, reads the contents of an XML document and lets you view its contents as simple text. Specifically, it does the following:
It parses and validates an XML document (from a variety of sources),
it constructs a document model structure (in temporary storage), and,
it provides methods for navigating over the document model, filling in property values with relevant information as it moves along.