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

Querying XML DB Repository

To query XML DB Repository in SQL, we need to clarify the two key elements in XML DB Repository—resource and path:

Image  Resource Each document or folder in XML DB Repository is represented as a resource. A resource normally includes a resource name, a description, and the resource content. A file resource can be XML or non-XML documents, or even XML views. The XML resources are stored in XMLTypes. Non-XML resources are stored in BLOB. You can find a more detailed description of the XML DB resources in the /sys/schemas/PUBLIC/xmlns.oracle.com/xdb/XDBResource.xsd file.

  Path A link which represents the location of a resource ...

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