[NeXML]
Rich phyloinformatic dataThe future data exchange standard is here!
NeXML is an exchange standard for representing phyloinformatic data — inspired by the commonly used NEXUS format, but more robust and easier to process.
Schema module documentation
Description
This module constitutes in effect the 'main' class of the nexml schema. It defines the complex type for the root <nex:nexml> element and a simple type for the schema "version" attribute of the root element. In addition, this module includes the main schema modules for OTUs, characters, trees and metadata. The data type definitions in these included schema modules are then used to define element instances in the child substructures of the <nex:nexml> root element.
Other views (open in new window):
Complex types
Nexml
Description
The root element for nexml.
Inheritance
Nexml extends Annotated.
Attributes
Name | Type | Usage |
version | Nexml1_0 | required |
generator | xs:string | optional |
Substructures
- an element called "otus", instance of Taxa (1..unbounded).
-
a sequence of items
(0..unbounded):
-
a choice between items:
- an element called "characters", instance of AbstractBlock (0..unbounded).
- an element called "trees", instance of Trees (0..unbounded).
-
a choice between items:
Definition source
<xs:complexType mixed="false" name="Nexml"> <xs:complexContent mixed="false"> <xs:extension base="Annotated"> <xs:sequence maxOccurs="unbounded" minOccurs="0"> <xs:element maxOccurs="unbounded" minOccurs="1" name="otus" type="Taxa"/> <xs:sequence maxOccurs="unbounded" minOccurs="0"> <xs:choice> <xs:element maxOccurs="unbounded" minOccurs="0" name="characters" type="AbstractBlock"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="trees" type="Trees"/> </xs:choice> </xs:sequence> </xs:sequence> <xs:attribute name="version" type="Nexml1_0" use="required"/> <xs:attribute name="generator" type="xs:string" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType>
[ Back to top ]
Simple types
Nexml1_0
Description
This simple type is the fixed version value, which in this iteration must be constrained to 0.9 (and will be incremented in future versions).
Inheritance
Nexml1_0 restricts xs:decimal.
Facets
Type | Value |
pattern | 0\.9 |
Definition source
<xs:simpleType name="Nexml1_0"> <xs:restriction base="xs:decimal"> <xs:pattern value="0\.9"/> </xs:restriction> </xs:simpleType>
[ Back to top ]
See also
~/nexml/xsd/nexml.xsd includes the following other files:
This page summarizes the contents of schema file "~/nexml/xsd/nexml.xsd". Generated on Tue Sep 23 12:49:35 2014.