Anonymous types

0 views
Skip to first unread message

Xavier@SMABTP

unread,
Jul 22, 2008, 11:31:46 AM7/22/08
to XMLmodeling
Hi,

I have a XSD schema which defines an anonymous complexType :

<xs:element name="lstRefObjects" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="InfoObject" type="InfoObject" minOccurs="0"
maxOccurs="1"/>
<xs:element name="InfoActivity" type="InfoActivity"
minOccurs="0" maxOccurs="1"/>
... ...
</xs:choice>
</xs:complexType>
</xs:element>

I reverse-engineered that schema and I got an anonymous element for
the <complexType>.
Is there any way to get rid of that element ?

Thank you for any help.

thays40

unread,
Jul 24, 2008, 10:38:13 AM7/24/08
to XMLmodeling
Have you tried marking the element private?
Reply all
Reply to author
Forward
0 new messages