Hello,
The form builder can generate an instance based on uploaded XSD, which already has this XSD a data structure defined.
Is it possible to make the form builder work with the uploaded XSD model? Will it generate the XML with the target namespace and the structure provided by the XSD?
In various tests I have not been able to make it work with the complexTypes.
Greetings and thanks.
This is the XSD structure we use:
<?xml version="1.0" encoding="UTF-8"?>
elementFormDefault="qualified"
attributeFormDefault="unqualified" >
<!-- TIPUS SIMPLES -->
<xsd:simpleType name="StringNoBuit">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
<!-- EL CONTINGUT CONCRET -->
<xsd:complexType name="Contingut">
<xsd:sequence>
<xsd:element name="nom" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="cognoms" type="tns:StringNoBuit" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Document">
<xsd:sequence>
<xsd:element name="contingut" type="tns:Contingut" minOccurs="1" maxOccurs="1"/>
<!-- <xsd:element ref="ds:Signature" minOccurs="0"/> -->
</xsd:sequence>
</xsd:complexType>
<!-- Top-level element -->
<xsd:element name="document" type="tns:Document"/>
</xsd:schema>