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 del.icio.us facebook — Last updated: Tue Sep 23 12:49:28 IST 2014

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

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>

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.