XML schema issue: Repeating Element not repeating

TobyV

New Member
I have a pretty standard xml schema defining an element called "part" that should repeat.\[code\]<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="part"> <xs:complexType> <xs:sequence> <xs:element name="part_number" type="xs:string"/> <xs:element name="price" type="xs:decimal"/> </xs:sequence> </xs:complexType></xs:element></xs:schema>\[/code\]problem is, when I use this schema to export a price list I get this:\[code\]<?XML version="1.0" encoding="UTF-8" standalone="yes"?><part><part_number>10-000</part_number><price>151.8</price></part>\[/code\]When I want mulitple \[code\]<part>\[/code\] elements.Where am I messing up in the schema?
 
Back
Top