[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Anonymous Elements

Subject: Anonymous Elements
From: aspsa <aspsa@xxxxxxxxxxxxx>
Date: Mon, 25 Apr 2005 23:55:11 -0400
anonymous element render
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.