element union

element {http://www.w3.org/2001/XMLSchema}union

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}anyType (by restriction)
 {http://www.w3.org/2001/XMLSchema}openAttrs (by extension)
  {http://www.w3.org/2001/XMLSchema}annotated (by extension)
   {http://www.w3.org/2001/XMLSchema}union
Abstractfalse (This can be used in an instance)
Block Substitutionsextension, restriction, substitution
Nillablefalse (Instance values cannot use xsi:nil)
Target Namespacehttp://www.w3.org/2001/XMLSchema
Declared Namespacesxmlns:hfp=http://www.w3.org/2001/XMLSchema-hasFacetAndProperty
xmlns:xs=http://www.w3.org/2001/XMLSchema


Source

<xs:element name="union" id="union">
    <
xs:complexType mixed="false">
        <
xs:annotation>
            <
xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-union">
memberTypes attribute must be non-empty or there must be
at least one simpleType child
            
</xs:documentation>
        </
xs:annotation>
        <
xs:complexContent>
            <
xs:extension base="xs:annotated">
                <
xs:sequence>
                    <
xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"
                        
maxOccurs="unbounded"/>
                </
xs:sequence>
                <
xs:attribute name="memberTypes" use="optional">
                    <
xs:simpleType>
                        <
xs:list itemType="xs:QName"/>
                    </
xs:simpleType>
                </
xs:attribute>
            </
xs:extension>
        </
xs:complexContent>
    </
xs:complexType>
</
xs:element>


element union


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.