xsl-list
[Top] [All Lists]

Anonymous Elements

2005-04-25 20:55:11
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>