Subject: Anonymous Elements
From: aspsa <aspsa@xxxxxxxxxxxxx>
Date: Mon, 25 Apr 2005 23:55:11 -0400
|
Hi, folks.
As I understand it, anonymous elements are most often used with the
<xs:complexType> XML Schema element. However, is it possible to apply this
same concept to the <xs:element> element? I've commented out the named
version of the <xs:element> element in question.
<xs:complexType name="personaeType">
<xs:sequence>
<xs:element name="TITLE" type="minStrLenType" />
<!--<xs:element name="PERSONAorPGROUP">-->
<xs:element>
<xs:complexType>
<xs:choice>
<xs:element name="PERSONA" type="minStrLenType" maxOccurs="unbounded"
/>
<xs:element name="PGROUP" type="pgroupType" maxOccurs="unbounded" />
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
Thanks for your feedback.
Respectfully,
ASP
|