[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 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. $Id: $
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="true" name="Nexml"> <xs:complexContent mixed="true"> <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:key name="tree"> <xs:selector xpath="./tree"/> <xs:field xpath="@id"/> </xs:key> </xs:element> </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" as of revision 1303. That schema file was last modified by rvos on 2010-06-11 09:27:40 -0400 (Fri, 11 Jun 2010), and this HTML summary page was generated on Tue Jun 15 08:18:28 2010.
inheritance tree
inclusions tree
schema source