Map one more column map within a single XSD element.

S

SELVAGANESH

Map one more column map within a single XSD element.
I have export the xml file from the excel file format, the data has in one
more column a xml element data. How can I map one more column?

In my XSD (problem is "sub-item" element)

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="body">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="item-group" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="item" type="xsd:string"/>
<xsd:element name="sub-item" type="xsd:string" maxOccurs="unbounded"/>
<xsd:element name="reference-targets" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top