Skip to main content

%XML.TextReader Overview

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:

  1. It parses and validates an XML document (from a variety of sources),

  2. it constructs a document model structure (in temporary storage), and,

  3. it provides methods for navigating over the document model, filling in property values with relevant information as it moves along.

FeedbackOpens in a new tab