nexml schema 1.0 ~/nexml/xsd/meta/annotations.xsd

Skip to: Site menu | Main content

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

Validate nexml data

Schema module documentation

~ / nexml / html / doc / schema-1 / meta / annotations
rss | digg reddit del.icio.us facebook | Wed Aug 20 22:40:44 2008 —

Description

This module defines annotations that can be attached to (almost) any nexml element. The markup for these annotations is like that of xml-plists, such as are used by iTunes libraries and other Mac OS X configuration files. However, this module extends on that by defining more simple types that can be used as values of the key/value pairs that comprise the annotation. In particular, the additional types are lists of atomic simple types, so that a value can be a list of integers, for example.

Other views (open in new window):

Complex types

Base [abstract]

Description

The base type for all complexType definitions in the nexml schema. This type allows a number of special attributes: xml:lang - for languages codesxml:base - see http://www.w3.org/TR/xmlbase/xml:id - see http://www.w3.org/TR/xml-id/xml:space - for whitespace handlingxlink:href - for linksclass - for class membership Also see http://www.w3.org/2001/xml.xsd for more information on the xml and xlink attributes.

Attributes
Name Type Usage
xlink:href xs:anyURI optional
class IDVector optional
Definition source
  <xs:complexType abstract="true" name="Base">
    <xs:sequence/>
    <xs:attributeGroup ref="xml:specialAttrs"/>
    <xs:attribute ref="xlink:href" use="optional"/>
    <xs:attribute name="class" type="IDVector" use="optional"/>
  </xs:complexType>

Dict

Description

A dictionary; a sequence of key/value pairs, where the value elements are of some type.

Inheritance

Dict extends Base. In turn, this type is inherited from by DC, RCSAuthor, RCSDate, RCSHeader, RCSId, RCSRev, RCSURL, RSS, XHTML,

Substructures
Definition source
  <xs:complexType name="Dict">
    <xs:complexContent>
      <xs:extension base="Base">
        <xs:sequence maxOccurs="unbounded" minOccurs="1">
          <xs:element maxOccurs="1" minOccurs="1" name="key" type="xs:string"/>
          <xs:choice maxOccurs="1" minOccurs="1">
            <xs:element name="base64" type="xs:base64Binary"/>
            <xs:element name="base64vector" type="Base64Vector"/>
            <xs:element name="date" type="xs:dateTime"/>
            <xs:element name="datevector" type="DateVector"/>
            <xs:element name="boolean" type="xs:boolean"/>
            <xs:element name="booleanvector" type="BooleanVector"/>
            <xs:element name="float" type="xs:float"/>
            <xs:element name="floatvector" type="FloatVector"/>
            <xs:element name="id" type="xs:ID"/>
            <xs:element name="idvector" type="IDVector"/>
            <xs:element name="integer" type="xs:integer"/>
            <xs:element name="integervector" type="IntegerVector"/>
            <xs:element name="string" type="xs:string"/>
            <xs:element name="stringvector" type="StringVector"/>
            <xs:element name="url" type="xs:anyURI"/>
            <xs:element name="urlvector" type="UrlVector"/>
            <xs:element name="dict" type="Dict"/>
            <xs:element name="dictvector" type="DictVector"/>
            <xs:element form="unqualified" name="any" type="xs:anyType"/>
          </xs:choice>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

DictVector

Description

A vector of dictionaries.

Inheritance

DictVector extends Base.

Substructures
Definition source
  <xs:complexType name="DictVector">
    <xs:complexContent>
      <xs:extension base="Base">
        <xs:sequence maxOccurs="unbounded" minOccurs="1">
          <xs:element name="dict" type="Dict"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

Simple types

Base64Vector

Inheritance

Base64Vector defines a new type by making a list of xs:base64Binary type items.

Definition source
  <xs:simpleType name="Base64Vector">
    <xs:list itemType="xs:base64Binary"/>
  </xs:simpleType>

BooleanVector

Inheritance

BooleanVector defines a new type by making a list of xs:boolean type items.

Definition source
  <xs:simpleType name="BooleanVector">
    <xs:list itemType="xs:boolean"/>
  </xs:simpleType>

DateVector

Inheritance

DateVector defines a new type by making a list of xs:dateTime type items.

Definition source
  <xs:simpleType name="DateVector">
    <xs:list itemType="xs:dateTime"/>
  </xs:simpleType>

FloatVector

Inheritance

FloatVector defines a new type by making a list of xs:float type items.

Definition source
  <xs:simpleType name="FloatVector">
    <xs:list itemType="xs:float"/>
  </xs:simpleType>

IDVector

Inheritance

IDVector defines a new type by making a list of xs:NCName type items.

Definition source
  <xs:simpleType name="IDVector">
    <xs:list itemType="xs:NCName"/>
  </xs:simpleType>

IntegerVector

Inheritance

IntegerVector defines a new type by making a list of xs:integer type items.

Definition source
  <xs:simpleType name="IntegerVector">
    <xs:list itemType="xs:integer"/>
  </xs:simpleType>

StringVector

Inheritance

StringVector defines a new type by making a list of xs:string type items.

Definition source
  <xs:simpleType name="StringVector">
    <xs:list itemType="xs:string"/>
  </xs:simpleType>

UrlVector

Inheritance

UrlVector defines a new type by making a list of xs:anyURI type items.

Definition source
  <xs:simpleType name="UrlVector">
    <xs:list itemType="xs:anyURI"/>
  </xs:simpleType>

See also

~/nexml/xsd/meta/annotations.xsd is included in:

This page summarizes the contents of schema file "~/nexml/xsd/meta/annotations.xsd" as of revision 596. That schema file was last modified by rvos on 2008-05-20 14:48:49 -0400 (Tue, 20 May 2008), and this HTML summary page was generated on Wed Aug 20 22:40:44 2008.