XML Database and Standards
At this point, we have introduced the broad extent of Oracle XML support. Equally important is that its XML infrastructure is built on a family of open standards. These standards and the corresponding XML functionality are summarized in Table 8-3.Standard | Current Status | Oracle XML Functionality |
---|---|---|
XML 1.0 | Extensible Markup Language 1.0W3C Recommendation Oct. 2000www.w3.org/TR/REC-xml | XMLTypeDBMS_XMLPARSER (DOM Parser)XDK XML PARSERS (DOM and SAX Parser) in C, C++ and Java |
XML Namespaces | XML Namespaceswww.w3.org/TR/REC-xml-names | |
XML Schema 1.0 | XML Schema 1.0W3C Recommendation May 2001www.w3.org/TR/xmlschema-0 | XML Schema–based XMLType with XML DB XML Schema annotations; used as the basis for mapping XML to SQL data types DBMS_XMLSCHEMAXDK XML SCHEMA PROCESSORS in C, C++ and Java |
DOM 1.0 & 2.0 | Document Object Model Level 2W3C Recommendation Jan. 2003www.w3.org/TR/DOM-Level-2-HTML | DBMS_XMLDOMXDK DOM Parser in C, C++ and Java |
XSLT 1.0 | XSLT Transformation 1.0 W3C Recommendation Nov. 1999www.w3.org/TR/xslt | XMLType.transform() DBMS_XSLPROCESSORC/C++ XDK XSL Processor in C, C++ and Java |
XPath 1.0 | XML Path Language 1.0W3C Recommendation Nov. 1999www.w3.org/TR/xpath | Used for hierarchical queries against XML documents:XMLType.extract()XMLTypes.extractValue()XMLType.existsNode() The selectNodes(),valueOf() and selectSingleNode() functions in:DBMS_XSLPROCESSORXDK XML Parser in JavaXDK XSL Processor in C |
XQuery 1.0 | XML Query Language 1.0 W3C Working Draft, Nov. 2002www.w3.org/TR/xquery/ | Standard XML query interfaces independent from the storage model |
SQL/XML | XML-Related SpecificationsISO-ANSI Working Draftwww.sqlx.org | SQL/XML functionsOracle SQL extension functions for XML operations |
WebDAV | Web-based Distributed Authoring and VersioningIETF RFC 2518 in 1999http://asg.web.cmu.edu/rfc/rfc2518l | WebDAV for Oracle XML DB Repository |
HTTP 1.1 | Hypertext Transfer Protocolwww.w3.org/Protocols/rfc2616/ rfc2616l | WebDAV for Oracle XML DB RepositoryDBURI ServletXML DB Servlet |
FTP | File Transfer Protocolwww.ietf.org/rfc/rfc959.txt | FTP for Oracle XML DB Repository |
We will cover these features in detail in later chapters. If you are not familiar with these standards, check out the associated URLs in the Appendix.