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 Sheet, 4 of 8

## XML Parser for C++: XMLParser() API

Table E-2 lists the main XML Parser for C++,class XMLParser() methods with a brief description of each. XMLParser() class contains top-level methods that do the following:

- Invoke the parser

- Return high-level information about a document

  ##### Table E-2 XML Parser for C++ : XMLParser() Class

  XMLParser() Method | Description
  --- | ---
  xmlinit | Initialize XML parser uword xmlinit(oratext *encoding, void (*msghdlr)(void *msgctx, oratext *msg, ub4 errcode), void *msgctx, lpxsaxcb *saxcb, void *saxcbctx, oratext *lang)
  xmlterm | Terminate XML parser
  xmlparse | Parse a document from a file
  xmlparseBuffer | Parse a document from a buffer
  getContent | Returns the content model for an element
  getModifier | Returns the modifier ('?', '*' or '+') for a content-model node
  getDocument | Returns the root node of a parsed document
  getDocumentElement | Returns the root element (node) of a parsed document
  getDocType | eturns the document type string
  isStandalone | Returns the value of the standalone flag. Returns TRUE if the document is specified as standalone on the <?xml?> line, FALSE otherwise.

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