XSD Problem

Stefan H Westlund <[email protected]> Wed, 2 Apr 2003 08:35:22 -0700
Newsgroups gmane.comp.java.sun.xml.general
Message-ID <[email protected]>
Hello!
I have a problem setting up the right XMLSchema.
I can't figure out how this DTD would be like in XSD.

<!ELEMENT A (B | C)*>

So this would parse OK....
(I hope you understand what I am trying to explain)

<A>
  <B>
  </B>
  <C>
  </C>
  <B>
  </B>
  <B>
  </B>
</A>

I have tried several XMLSchema-generators but none seems to generate (a correct) XSD that I can use with xjc.sh.
If anyone know about what I am doing wrong please help me...
Thanks!
/Stefan W

-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:[email protected]
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:[email protected] the following message;
signoff xml-interest.