Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DataSource from XSD

    Isomorphic can u exmplane what happening when i creating datasource from xsd with multiple ComplexTypes.
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                targetNamespace="http://xml.netbeans.org/schema/newXmlSchema"
        xmlns:tns="http://xml.netbeans.org/schema/newXmlSchema"
        elementFormDefault="qualified">
        <xsd:element name="SubrogationClaim" type="tns:SubrogationClame"></xsd:element>
        <xsd:complexType name="SubrogationClame">
            <xsd:sequence>
                <xsd:element name="CompanyName" type="xsd:string"></xsd:element>
                <xsd:element name="CompanyPlace" type="xsd:string"></xsd:element>
                <xsd:element name="CompanyEmploee" type="tns:SubrogationClame"></xsd:element>
            </xsd:sequence>
        </xsd:complexType>
        <xsd:complexType name="CompanySlaves">
            <xsd:sequence>
                <xsd:element name="EmploeeName" type="xsd:string"></xsd:element>
                <xsd:element name="EmploeeSalary" type="xsd:string"></xsd:element>
            </xsd:sequence>
        </xsd:ComplexType>
    </xsd:schema>
    From XSD i getting 2 dynamicForms
    1.Is it possible to create one dynamic form which will be creating data by XSD schema ?
    Or create one DynamicForm which will be inherits fiealds from XSD ?

    2. Why when i fetch DataSource fields i getting 3 fields {CompanyName,CompanyPlace,CompanyEmploee} but displaying 4 {CompanyName,CompanyPlace,EmploeeName,EmploeeSalary}
    3. How Can i access to fields EmploeeName,EmploeeSalary?
    Last edited by Bellski; 3 May 2012, 14:14.
Working...
X