NotesSAXParser (LotusScript®)

Processes input XML as a series of events using a SAX (Simple API for XML) parser.

Note: This class is new with Release 6.
Note: This class is not supported in COM.

Base class

Inherits from: NotesXMLProcessor

Containment

Contained by: NotesSession

Contains: NotesSAXAttributeList, NotesSAXException

Events

SAX_Characters

SAX_EndDocument

SAX_EndElement

SAX_Error

SAX_FatalError

SAX_IgnorableWhiteSpace

SAX_NotationDecl

SAX_ProcessingInstruction

SAX_ResolveEntity

SAX_StartDocument

SAX_StartElement

SAX_UnparsedEntityDecl

SAX_Warning

Properties

ExitOnFirstFatalError

InputValidationOption

Log

LogComment

Methods

Output

Parse

Process

SetInput

SetOutput

Creation and access

Use CreateSAXParser in NotesSession to create a NotesSAXParser object. If you do not specify the input parameter, use SetInput to specify the input XML data. If you do not specify the output parameter, use SetOutput to specify the output XML data. You can also use these methods to override the CreateSAXParser parameters.

Call Process or Parse to initiate the data-conversion process by triggering a series of event handlers.

Usage

Refer to the World Wide Web Consortium at http://www.w3.org/ for general information about XML and SAX. The documents "XML Information Set" at http://www.w3.org/TR/xml-infoset/ and "Extensible Markup Language (XML) 1.0 (Second Edition)" at http://www.w3.org/TR/REC-xml#dt-xml-doc contain information about the events and methods described in this class.

Example