← Prev in month ← Prev in thread

maxoccurs='unbounded' under xsd:all group.

From
Roxette Lurge <>
To
Date
2006-01-17T14:34:26Z
ID
<>
Thread
maxoccurs='unbounded' under xsd:all group.
I have seen this question being asked by few more
people on the web but there does not seem to be a
suitable workaround without sacrificing the structure
of the original xml or using external tools like
schematron, etc.

for e.g.
.........
<xs:element name="CUSTOMER">
  <xs:complexType>
    <xs:all>
      <xs:element name="ACCOUNT_NUM"
type="xs:string"/>
      <xs:element name="NAME" type="xs:string"/>
      <xs:element name="ORDERNUMBERS" type="xs:string"
maxOccurs="unbounded"/>
    </xs:all>
  </xs:complexType>
</xs:element>
..........

The above is not valid for w3c, I need to instead
break it into child elements for "ORDERNUMBERS".

Can anybody suggest a better way.

Thanks,
Baiju.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
← Prev in month ← Prev in thread