element <xs:union>
Namespace:
Type:
anonymous (extension of xs:annotated)
Content:
complex, 2 attributes, attr. wildcard, 2 elements
Block:
"#all" (blocks all substitutions of this element or its type)
Defined:
globally in XMLSchema.xsd; see XML source
Includes:
definitions of 1 attribute, 1 element
Used:
XML Representation Summary
<xs:union
    id
 = 
xs:ID
    memberTypes
 = 
list of xs:QName
    {any attribute with non-schema namespace}
    >
   
Content: 
xs:annotation?, xs:simpleType*
</xs:union>
Content model elements (2):
Included in content model of elements (2):
Known Usage Locations
Anonymous Type Detail
Type Derivation Tree
xs:anyType (restriction)
  xs:openAttrs (extension)
      xs:annotated (extension)
          complexType
Annotation
memberTypes attribute must be non-empty or there must be at least one simpleType child
See:  http://www.w3.org/TR/xmlschema-2/#element-union
XML Source (see within schema source)
<xs:element id="union" name="union">
<xs:complexType>
<xs:annotation>
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 maxOccurs="unbounded" minOccurs="0" name="simpleType" type="xs:localSimpleType"/>
</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>
Attribute Detail (all declarations; 3)
id
Type:
Use:
optional
Defined:
locally within xs:annotated complexType
XML Source (see within schema source)
<xs:attribute name="id" type="xs:ID"/>

memberTypes
Type:
Use:
optional
Defined:
locally within (this) xs:union element
Anonymous simpleType
Derivation:
list of xs:QName
XML Source (see within schema source)
<xs:attribute name="memberTypes" use="optional">
<xs:simpleType>
<xs:list itemType="xs:QName"/>
</xs:simpleType>
</xs:attribute>

{any attribute with non-schema namespace}
Defined:
within xs:openAttrs complexType
XML Source (see within schema source)
<xs:anyAttribute namespace="##other" processContents="lax"/>
Content Element Detail (all declarations; 2)
xs:annotation
Type:
anonymous (extension of xs:openAttrs), complex content
Defined:
by reference within xs:annotated complexType
XML Source (see within schema source)
<xs:element minOccurs="0" ref="xs:annotation"/>

xs:simpleType
Type:
xs:localSimpleType, complex content
Defined:
locally within (this) xs:union element
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="simpleType" type="xs:localSimpleType"/>

This XML schema documentation has been generated with DocFlex/XML RE 1.8.0 using DocFlex/XML XSDDoc 2.2.0 template set.
DocFlex/XML RE is a reduced edition of DocFlex/XML, which is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-end XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support more than 300 template parameters (working the same as "options" of an ordinary doc-gen), which will give you an unprecedented control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To enable/disable documenting of the initial, imported, included and redefined XML schemas selectively.
  • To document local element components both globally and locally (similar to attributes).
  • To enable/disable reproducing of namespace prefixes.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in the form of a single HTML file.
  • To use the same template to generate the incredible quality RTF documentation.
  • To document only selected XML schema components specified by name.
  • To remove this very advertisement text
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML SDK and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for DocFlex/XML SDK will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note: By purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the result of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To buy a license, please follow this link: http://www.filigris.com/shop/