O'Reilly logo

Oracle Database 11g: Building Oracle XML DB Applications by Jinyu Wang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What Is Native xml Storage?

Native XMLType storage is essential to XML DB operations. Let’s start by learning a few key details about it.

Well-Formedness Rules

As a native XML object, XMLType only stores well-formed XML documents or XML fragments. The following is an example XML document (john_smith.xml):

<?xml version=“1.0” encoding=“UTF-8”?>

<contact xmlns=“http://xmlbook.com/sample/contact.xsd” id=“1”>

     <category>customer</category>

     <first_name Chinese=“Image”>John</first_name>

     <last_name>Smith</last_name>

     <email>john.smith@hfarm.com</email>

</contact>

In the XML document, there are a set of tags (or markups), such as <contact> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required