nexml schema 0.9 ~/nexml/xsd/nexml.xsd

Skip to: Site menu | Main content

The 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.

Process nexml data

Schema module documentation

~ / doc / schema-1 / nexml
rss | digg reddit facebook — Last updated: Tue Sep 23 12:49:28 IST 2014


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



The root element for nexml.


Nexml extends Annotated.

Name Type Usage
version Nexml1_0 required
generator xs:string optional
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:element maxOccurs="unbounded" minOccurs="0" name="characters" type="AbstractBlock"/>
              <xs:element maxOccurs="unbounded" minOccurs="0" name="trees" type="Trees"/>
        <xs:attribute name="version" type="Nexml1_0" use="required"/>
        <xs:attribute name="generator" type="xs:string" use="optional"/>

Simple types



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).


Nexml1_0 restricts xs:decimal.

Type Value
pattern 0\.9
Definition source
  <xs:simpleType name="Nexml1_0">
    <xs:restriction base="xs:decimal">
      <xs:pattern value="0\.9"/>

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.