|
Code Listing 1: An XML Schema definition examplesml2_0_survey.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
targetNamespace="http:/www.decode.com/schemas/sml/2"
xmlns="http:/www.decode.com/schemas/sml/2"
xmlns:xsd="http/www.w3.org/2001/XMLSchema"
xmlns:xdb="http://xmlns.oracle.com/xdb"
elementFormDefault="qualified">
<xsd:element name="sml" type="typeSml" xdb:defaultTable="HLQ_SURVEY_XML_DTB"
xdb:SQLType="CLOB"/>
<xsd:complexType name="typeSml">
... detailed schema definition ...
</xsd:complexType>
</xsd:schema>
|