Page 1 of 1

xsd to xml

Posted: Thu Nov 13, 2008 9:43 pm
by yacahuma
Can someone tell me what the xml will look like for this

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>
 
 
This is what I have
<Part2>
<WagCommAllowTips>
???????-->I dont know how to do the array of IncomTaxWithheld and WagesCommAlloTips
<NoWithholdingStatements>2</NoWithholdingStatements>
</WagCommAllowTips>
</Part2>

Re: xsd to xml

Posted: Sat Nov 15, 2008 11:28 am
by yacahuma
found a nice program call liquidxmlstudio. It generates sample xml from xsd. Is about a $100. But I think is worth it.