nedcomp hosting homepage

Producten en Diensten
Dedicated servers
Datacenter informatie
Partners, resellers
Helpdesk informatie
Technische docs, tools
Support homepage
ASP componenten
Praktische ASP, ASP.NET
Visual route server
Whois (domein gegevens)
Software documentatie
Whitepapers
Zoeken
Nedcomp / algemeen

Zoeken
 

Copyright © Nedcomp Hosting
Telefoon nr :   +31 184 670111
Fax nummer :   +31 184 631384
E-mailadres :   info@nedcomp.nl
 

Microsoft XML Core Services (MSXML) 4.0 - SAX2 Developer's Guide

Receiving Events with SAX

The following are the building blocks of a typical SAX application.

SAXXMLReader
SAXXMLReader implements the ISAXXMLReader interface. SAXXMLReader consumes the XML and throws events to the handlers that you set for the reader. First you create an instance of SAXXMLReader, and then set a ContentHandler and an ErrorHandler for receiving events from the reader.
IVBSAXContentHandler
The ContentHandlerImpl.cls class implements the IVBSAXContentHandler interface. IVBSAXContentHandler catches events thrown by the reader. The main events are: startDocument, endDocument, startElement, endElement, and characters.
IVBSAXErrorHandler
The ContentHandlerImpl.cls class implements the IVBSAXErrorHandler interface. IVBSAXErrorHandler catches any errors raised during the read process. At this time, MSXML supports only the fatalError method.
Application
The application consists of code that typically creates an instance of the SAXXMLReader, sets the content handler and error handler for the reader, and then calls the parse or parseURL method of the SAXXMLReader to process an XML file.

See Also

JumpStart for Creating a SAX2 Application with Visual Basic | JumpStart for Creating a SAX2 Application with C++ | Create a Simple Filter | IVBSAXXMLReader Interface | IMXWriter Interface | IVBSAXContentHandler Interface | IVBSAXDeclHandler Interface | IVBSAXDTDHandler Interface | IVBSAXErrorHandler Interface | IVBSAXLexicalHandler Interface | output Property


Download de SDK