<xs:complexType name="Base" abstract="true" mixed="false">
<xs:annotation>
<xs:documentation>The base type for all complexType definitions in the nexml schema. This type allows a number of special attributes:
<ul>
<li>xml:lang - for languages codes</li>
<li>xml:base - see
<a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
</li>
<li>xml:id - see
<a href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>
</li>
<li>xml:space - for whitespace handling</li>
<li>xlink:href - for links</li>
</ul>Also see http://www.w3.org/2001/xml.xsd for more information on the xml and xlink attributes.</xs:documentation>
</xs:annotation>
<xs:sequence/>
<!-- It is probable that we want to allow every
attribute that is in xs:attributeGroup ref="xml:specialAttrs"
However, doing this causes clashes between xml:id
and the id attribute in IDTagged (which is
an extension of Base). Thus, we are
just allowing xml:base here from the xml:specialAttrs
group. xml:base is included in several elements by
treebase in NeXML exports, so it would be nice to allow
it.
-->
<xs:attribute ref="xml:base"/>
<!--xs:attribute name="id" type="xs:ID" use="optional"/-->
<xs:anyAttribute namespace="##any" processContents="skip"/>
</xs:complexType> |