Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
Library | Service | Contents | Index

XDK for C: Specifications and Cheat Sheets, 8 of 8

## XML Parser for C: SAX API Functions

Table D-6 lists the XML Parser for C, SAX API functions.

##### Table D-6 XML Parser for C: SAX API Functions

SAX Function | Brief Description
--- | ---
characters(void *ctx, const oratext *ch, size_t len) | Receive notification of character data inside an element.
endDocument(void *ctx) | Receive notification of the end of the document.
endElement(void *ctx, const oratext *name) | Receive notification of the end of an element.
ignorableWhitespace(void *ctx, const oratext *ch, size_t len) | Receive notification of ignorable whitespace in element content.
notationDecl(void *ctx, const oratext *name, const oratext *publicId, const oratext *systemId) | Receive notification of a notation declaration.
processingInstruction(void *ctx, const oratext *target, const oratext *data) | Receive notification of a processing instruction.
startDocument(void *ctx) | Receive notification of the beginning of the document.
startElement(void *ctx, const oratext *name, const struct xmlattrs *attrs) | Receive notification of the start of an element.
unparsedEntityDecl(void *ctx, const oratext *name, const oratext *publicId, const oratext *systemId, const oratext *notationName) | Receive notification of an unparsed entity declaration.
Non-SAX Callback Functions |
nsStartElement(void *ctx, const oratext *qname, const oratext *local, const oratext *namespace, const struct xmlattrs *attrs) | Receive notification of the start of a namespace for an element.

| Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index