[nexml]
phylogenetic data in xmlThe future data exchange standard is here!
nexml is an exchange standard for representing phylogenetic data — inspired by the commonly used NEXUS format, but more robust and easier to process.
Schema module documentation
Description
This module defines annotations that can be attached to (almost) any nexml element. The markup for these annotations is like that of xml-plists, such as are used by iTunes libraries and other Mac OS X configuration files. However, this module extends on that by defining more simple types that can be used as values of the key/value pairs that comprise the annotation. In particular, the additional types are lists of atomic simple types, so that a value can be a list of integers, for example.
Other views (open in new window):
Complex types
Base [abstract]
Description
The base type for all complexType definitions in the nexml schema. This type allows a number of special attributes: xml:lang - for languages codes xml:base - see http://www.w3.org/TR/xmlbase/ xml:id - see http://www.w3.org/TR/xml-id/ xml:space - for whitespace handlingxlink:href - for linksclass - for class membership Also see http://www.w3.org/2001/xml.xsd for more information on the xml and xlink attributes.
Attributes
| Name | Type | Usage |
| xlink:href | xs:anyURI | optional |
| class | IDVector | optional |
Definition source
<xs:complexType abstract="true" name="Base"> <xs:sequence/> <xs:attributeGroup ref="xml:specialAttrs"/> <xs:attribute ref="xlink:href" use="optional"/> <xs:attribute name="class" type="IDVector" use="optional"/> </xs:complexType>
[ Back to top ]
Dict
Description
A dictionary; a sequence of key/value pairs, where the value elements are of some type.
Inheritance
Dict extends Base. In turn, this type is inherited from by DC, RCSAuthor, RCSDate, RCSHeader, RCSId, RCSRev, RCSURL, RSS, XHTML,
Substructures
- an element called "key", instance of xs:string (1..1).
-
a choice between items:
- an element called "base64", instance of xs:base64Binary (..).
- an element called "base64vector", instance of Base64Vector (..).
- an element called "date", instance of xs:dateTime (..).
- an element called "datevector", instance of DateVector (..).
- an element called "boolean", instance of xs:boolean (..).
- an element called "booleanvector", instance of BooleanVector (..).
- an element called "float", instance of xs:float (..).
- an element called "floatvector", instance of FloatVector (..).
- an element called "id", instance of xs:ID (..).
- an element called "idvector", instance of IDVector (..).
- an element called "integer", instance of xs:integer (..).
- an element called "integervector", instance of IntegerVector (..).
- an element called "string", instance of xs:string (..).
- an element called "stringvector", instance of StringVector (..).
- an element called "url", instance of xs:anyURI (..).
- an element called "urlvector", instance of UrlVector (..).
- an element called "dict", instance of Dict (..).
- an element called "dictvector", instance of DictVector (..).
- an element called "any", instance of xs:anyType (..).
Definition source
<xs:complexType name="Dict"> <xs:complexContent> <xs:extension base="Base"> <xs:sequence maxOccurs="unbounded" minOccurs="1"> <xs:element maxOccurs="1" minOccurs="1" name="key" type="xs:string"/> <xs:choice maxOccurs="1" minOccurs="1"> <xs:element name="base64" type="xs:base64Binary"/> <xs:element name="base64vector" type="Base64Vector"/> <xs:element name="date" type="xs:dateTime"/> <xs:element name="datevector" type="DateVector"/> <xs:element name="boolean" type="xs:boolean"/> <xs:element name="booleanvector" type="BooleanVector"/> <xs:element name="float" type="xs:float"/> <xs:element name="floatvector" type="FloatVector"/> <xs:element name="id" type="xs:ID"/> <xs:element name="idvector" type="IDVector"/> <xs:element name="integer" type="xs:integer"/> <xs:element name="integervector" type="IntegerVector"/> <xs:element name="string" type="xs:string"/> <xs:element name="stringvector" type="StringVector"/> <xs:element name="url" type="xs:anyURI"/> <xs:element name="urlvector" type="UrlVector"/> <xs:element name="dict" type="Dict"/> <xs:element name="dictvector" type="DictVector"/> <xs:element form="unqualified" name="any" type="xs:anyType"/> </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>
[ Back to top ]
DictVector
Description
A vector of dictionaries.
Inheritance
DictVector extends Base.
Substructures
- an element called "dict", instance of Dict (..).
Definition source
<xs:complexType name="DictVector"> <xs:complexContent> <xs:extension base="Base"> <xs:sequence maxOccurs="unbounded" minOccurs="1"> <xs:element name="dict" type="Dict"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>
[ Back to top ]
Simple types
Base64Vector
Inheritance
Base64Vector defines a new type by making a list of xs:base64Binary type items.
Definition source
<xs:simpleType name="Base64Vector"> <xs:list itemType="xs:base64Binary"/> </xs:simpleType>
[ Back to top ]
BooleanVector
Inheritance
BooleanVector defines a new type by making a list of xs:boolean type items.
Definition source
<xs:simpleType name="BooleanVector"> <xs:list itemType="xs:boolean"/> </xs:simpleType>
[ Back to top ]
DateVector
Inheritance
DateVector defines a new type by making a list of xs:dateTime type items.
Definition source
<xs:simpleType name="DateVector"> <xs:list itemType="xs:dateTime"/> </xs:simpleType>
[ Back to top ]
FloatVector
Inheritance
FloatVector defines a new type by making a list of xs:float type items.
Definition source
<xs:simpleType name="FloatVector"> <xs:list itemType="xs:float"/> </xs:simpleType>
[ Back to top ]
IDVector
Inheritance
IDVector defines a new type by making a list of xs:NCName type items.
Definition source
<xs:simpleType name="IDVector"> <xs:list itemType="xs:NCName"/> </xs:simpleType>
[ Back to top ]
IntegerVector
Inheritance
IntegerVector defines a new type by making a list of xs:integer type items.
Definition source
<xs:simpleType name="IntegerVector"> <xs:list itemType="xs:integer"/> </xs:simpleType>
[ Back to top ]
StringVector
Inheritance
StringVector defines a new type by making a list of xs:string type items.
Definition source
<xs:simpleType name="StringVector"> <xs:list itemType="xs:string"/> </xs:simpleType>
[ Back to top ]
UrlVector
Inheritance
UrlVector defines a new type by making a list of xs:anyURI type items.
Definition source
<xs:simpleType name="UrlVector"> <xs:list itemType="xs:anyURI"/> </xs:simpleType>
[ Back to top ]
See also
~/nexml/xsd/meta/annotations.xsd is included in:
This page summarizes the contents of schema file "~/nexml/xsd/meta/annotations.xsd" as of revision 654. That schema file was last modified by rvos on 2008-09-22 15:17:49 -0400 (Mon, 22 Sep 2008), and this HTML summary page was generated on Mon Dec 1 16:12:03 2008.
inheritance tree
inclusions tree
schema source