xsd to xml
Posted: Thu Nov 13, 2008 9:43 pm
Can someone tell me what the xml will look like for this
This is what I have
<Part2>
<WagCommAllowTips>
???????-->I dont know how to do the array of IncomTaxWithheld and WagesCommAlloTips
<NoWithholdingStatements>2</NoWithholdingStatements>
</WagCommAllowTips>
</Part2>
Code: Select all
- <xs:element name="Part2">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="WagCommAllowTips">
- <xs:complexType>
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="IncomeTaxWithheld" type="xs:decimal" />
<xs:element name="WagesCommAllowTips" type="xs:decimal" />
</xs:sequence>
<xs:attribute name="NoWithholdingStatements" type="xs:integer" />
</xs:complexType>
</xs:element>
<Part2>
<WagCommAllowTips>
???????-->I dont know how to do the array of IncomTaxWithheld and WagesCommAlloTips
<NoWithholdingStatements>2</NoWithholdingStatements>
</WagCommAllowTips>
</Part2>