Oracle9i Application Developer's Guide - XML Release 1 (9.0.1) Part Number A88894-01 |
|
This appendix contains the following sections:
Oracle provides a set of XML parsers for Java, C, C++, and PL/SQL. Each of these parsers is a stand-alone XML component that parses an XML document (or a standalone DTD) so that it can be processed by an application. Library and command-line versions are provided and support the following "standards" and features:
The XML Parser for C can parse XML in validating or non-validating modes.
Validation involves checking whether or not the attribute names and element tags are legal, whether nested elements belong where they are, and so on.
See Chapter 24, "Using XML Parser for C" for example code and suggestions on how to use the XML Parser for C.
Documentation for Oracle XML Parser for C is located in the $ORACLE_HOME/xdk/c/parser/doc
directory.
The readme.html file in the root directory of the archive contains release specific information including bug fixes, API additions, and so on.
The Oracle XML parser for C is written in C. It will check if an XML document is well-formed, and optionally validate it against a DTD. The parser will construct an object tree which can be accessed via a DOM interface or operate serially via a SAX interface.
XML Parser for C conforms to the following standards:
XML Parser for C supports documents in the following encodings, in addition to the ones specified in Appendix A, "Character Sets", of Oracle9i Globalization and National Language Support Guide:
The default encoding is UTF-8. It is recommended that you set the default encoding explicitly if using only single byte character sets (such as US-ASCII or any of the ISO-8859 character sets) for performance up to 25% faster than with multibyte character sets, such as UTF-8.
Table E-1 lists the XML Parser for C revision history.
Table E-2 lists the XML Parser for C Parser functions, a brief description, and syntax.
Table E-3 lists the XML Parser for C DOM API functions.
Table E-4 lists the XML Parser for C, Namespace functions.
Table E-5 lists the XML Parser for C, XSLT functions.
Function | Brief Description |
---|---|
xslprocess(xmlctx *docctx, xmlctx *xslctx, xmlctx *resctx, xmlnode **result) |
Processes XSL Stylesheet with XML document source and returns success or an error code. |
Table E-6 lists the XML Parser for C, SAX API functions.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|