Creating a schema

Hi everybody! Does anybody know how can i build a schema that support this xml document?




Probably it’s a stupid question, but the Schema Editor returned me errors about attributes “minOccurs” and “maxOccurs”.


Hi Miguel,

for element you set minOccurs to 0 or 1 and maxOccurs to unbounded.

Enclosed is the sample schema for your xml example.
a.tsd (796 Bytes)

Ok, thank you very much. The problem was that i was using an all node instead of a sequence.