I can't get what u are trying to explain, but can i get an example of how to creat an SQL table from an XML SCHEMA.
For example Can yyou give me a code the can translate this XML SCHEMA into SQL Tbale in DB2:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://xml.netbeans.org/schema/Show"
xmlns:tns="http://xml.netbeans.org/schema/Empl"
elementFormDefault="qualified">
<xsd:simpleType name="Empl_interger">
<xsd:restriction base="xsd:positiveInteger">
<xsd:maxInclusive value="2147483647"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Empl_Complex">
<xsd:sequence>
<xsd:element name="TID" type="tns:Show_interger"></xsd:element>
<xsd:element name="TimeID" type="tns:Empl_interger"></xsd:element>
<xsd:element name="MID" type="tns:Empl_interger"></xsd:element>
<xsd:element name="TCID" type="tns:Empl_interger"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Show" type="tns:Empl_Complex"></xsd:element>
</xsd:schema>
Can you please help me with the Sql code for this. I need to create it in netbeans.
Thanks