Contents

XMLParser

An event driven parser of XML documents (including DTD declarations).

Declaration

class XMLParser

Overview

An XMLParser notifies its delegate about the items (elements, attributes, CDATA blocks, comments, and so on) that it encounters as it processes an XML document. It does not itself do anything with those parsed items except report them. It also reports parsing errors. For convenience, an XMLParser object in the following descriptions is sometimes referred to as a parser object. Unless used in a callback, the XMLParser is a thread-safe class as long as any given instance is only used in one thread.

Topics

Initializing a Parser Object

Managing Delegates

Managing Parser Behavior

Parsing

Obtaining Parser State

Constants

Initializers

Instance Properties

See Also

Event-Based Processing