W3C

DurationElement Example

  <xs:element name="durationElement" type="xs:duration"/>

The example schema [DurationElement.xsd] has been classified as being "" as it exhibits the following patterns:

Status Name XPath

To facilitate testing, the example schema element has been wrapped in the following descriptions:

The following valid instance documents are provided:

Instance Validity
DurationElement01
DurationElement02
DurationElement03
DurationElement04

  <ex:durationElement>P1Y2M3DT10H30M</ex:durationElement>
  <ex:durationElement>-P1347M</ex:durationElement>
  <ex:durationElement>P1347Y</ex:durationElement>
  <ex:durationElement>P1M</ex:durationElement>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).

Generated from examples.xml $Date$