Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
|
Using XML Parser for C++, 4 of 10
Figure 22-1 illustrates the XML Parser for C++ functionality.
xmlinit()
method.
DOM: If you are using the DOM interface, include the following steps:
XMLParser.xmlparse()
or .xmlparserBuffer()
method calls .getDocument Element()
. If no other DOM methods are being applied, you can invoke .xmlterm()
.
.xmlterm()
.xmlclean()
to clean up any data structure created during the parse process. You would then call .xmlterm()
SAX: If you are using the SAX interface, include the following steps:
.xmlclean()
to clean up the memory and structures used during a parse, and go to Step 5. or return to Step 2.
xmlterm()
The sequence of calls to the parser can be any of the following:
XMLParser.xmlinit() - XMLParser.xmlparse()
or
XMLParser.xmlparsebuf() - XMLParser.xmlterm()
XMLParser.xmlinit() - XMLParser.xmlparse()
or
XMLParser.xmlparsebuf() - XMLParser.xmlclean() - XMLParser.xmlparse()
or
XMLParser.xmlparsebuf() - XMLParser.xmlclean() - ... - XMLParser.xmlterm()
XMLParser.xmlinit() - XMLParser.xmlparse()
or
XMLParser.xmlparsebuf() - XMLParser.xmlparse()
or
XMLParser.xmlparsebuf() - ... - XMLParser.xmlterm()
|
Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|