nexml schema 0.9 ~/nexml/xsd/trees/tree.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 / trees / tree
rss | digg reddit del.icio.us facebook — Last updated: Tue Sep 23 12:49:28 IST 2014

Description

This module defines the components of trees, graphs where edges have an in-degree that of 1. The types defined in this module are concrete implementations that inherit from the abstract types in the abstract trees module.

Depending on the concrete subclass, edges in trees either have lengths formatted as integers or lengths formatted as floating point numbers.

Other views (open in new window):

Complex types

FloatTree

Description

A concrete tree implementation, with floating point edge lengths.

Inheritance

FloatTree restricts AbstractTree.

Substructures
Definition source
  <xs:complexType abstract="false" name="FloatTree">
    <xs:complexContent>
      <xs:restriction base="AbstractTree">
        <xs:sequence maxOccurs="1" minOccurs="1">
          <xs:element maxOccurs="unbounded" minOccurs="0" name="meta" type="Meta"/>
          <xs:element maxOccurs="unbounded" minOccurs="1" name="node" type="TreeNode"/>
          <xs:element maxOccurs="1" minOccurs="0" name="rootedge" type="TreeFloatRootEdge"/>
          <xs:element maxOccurs="unbounded" minOccurs="1" name="edge" type="TreeFloatEdge"/>
          <xs:element maxOccurs="unbounded" minOccurs="0" name="set" type="NodeAndRootEdgeAndEdgeSet"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>

IntTree

Description

A concrete tree implementation, with integer edge lengths.

Inheritance

IntTree restricts AbstractTree.

Substructures
Definition source
  <xs:complexType abstract="false" name="IntTree">
    <xs:complexContent>
      <xs:restriction base="AbstractTree">
        <xs:sequence maxOccurs="1" minOccurs="1">
          <xs:element maxOccurs="unbounded" minOccurs="0" name="meta" type="Meta"/>
          <xs:element maxOccurs="unbounded" minOccurs="1" name="node" type="TreeNode"/>
          <xs:element maxOccurs="1" minOccurs="0" name="rootedge" type="TreeIntRootEdge"/>
          <xs:element maxOccurs="unbounded" minOccurs="1" name="edge" type="TreeIntEdge"/>
          <xs:element maxOccurs="unbounded" minOccurs="0" name="set" type="NodeAndRootEdgeAndEdgeSet"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>

TreeFloatEdge

Description

A concrete edge implementation, with float length.

Inheritance

TreeFloatEdge restricts AbstractEdge.

Attributes
Name Type Usage
length xs:double
Substructures
Definition source
  <xs:complexType abstract="false" name="TreeFloatEdge">
    <xs:complexContent>
      <xs:restriction base="AbstractEdge">
        <xs:sequence maxOccurs="1" minOccurs="1">
          <xs:element maxOccurs="unbounded" minOccurs="0" name="meta" type="Meta"/>
        </xs:sequence>
        <xs:attribute name="length" type="xs:double"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>

TreeFloatRootEdge

Description

A concrete root edge implementation, with float length.

Inheritance

TreeFloatRootEdge restricts AbstractRootEdge.

Attributes
Name Type Usage
length xs:double
Substructures
Definition source
  <xs:complexType abstract="false" name="TreeFloatRootEdge">
    <xs:complexContent>
      <xs:restriction base="AbstractRootEdge">
        <xs:sequence maxOccurs="1" minOccurs="1">
          <xs:element maxOccurs="unbounded" minOccurs="0" name="meta" type="Meta"/>
        </xs:sequence>
        <xs:attribute name="length" type="xs:double"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>

TreeIntEdge

Description

A concrete edge implementation, with int length.

Inheritance

TreeIntEdge restricts AbstractEdge.

Attributes
Name Type Usage
length xs:integer
Substructures
Definition source
  <xs:complexType abstract="false" name="TreeIntEdge">
    <xs:complexContent>
      <xs:restriction base="AbstractEdge">
        <xs:sequence maxOccurs="1" minOccurs="1">
          <xs:element maxOccurs="unbounded" minOccurs="0" name="meta" type="Meta"/>
        </xs:sequence>
        <xs:attribute name="length" type="xs:integer"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>

TreeIntRootEdge

Description

A concrete root edge implementation, with int length.

Inheritance

TreeIntRootEdge restricts AbstractRootEdge.

Attributes
Name Type Usage
length xs:integer
Substructures
Definition source
  <xs:complexType abstract="false" name="TreeIntRootEdge">
    <xs:complexContent>
      <xs:restriction base="AbstractRootEdge">
        <xs:sequence maxOccurs="1" minOccurs="1">
          <xs:element maxOccurs="unbounded" minOccurs="0" name="meta" type="Meta"/>
        </xs:sequence>
        <xs:attribute name="length" type="xs:integer"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>

TreeNode

Description

A concrete node implementation.

Inheritance

TreeNode restricts AbstractNode.

Substructures
Definition source
  <xs:complexType abstract="false" name="TreeNode">
    <xs:complexContent>
      <xs:restriction base="AbstractNode">
        <xs:sequence maxOccurs="1" minOccurs="1">
          <xs:element maxOccurs="unbounded" minOccurs="0" name="meta" type="Meta"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>

See also

~/nexml/xsd/trees/tree.xsd includes the following other files:

~/nexml/xsd/trees/tree.xsd is included in:

This page summarizes the contents of schema file "~/nexml/xsd/trees/tree.xsd". Generated on Tue Sep 23 12:49:36 2014.