docs.intersystems.com
Home / XML Tutorial / The %XML.TextReader Class / %XML.TextReader Overview

XML Tutorial
%XML.TextReader Overview
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


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.TextReader class comes in handy.
The %XML.TextReader 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.


Previous section           Next section
Send us comments on this page
  |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-06-20 04:56:34