complexType "length_type"
Namespace:
Content:
empty, 2 attributes
Defined:
globally in problem.xsd, see XML source
Includes:
definitions of 2 attributes
Used:
XML Representation Summary
<...
   
type
 = 
("maximum" | "exact")
   
value
 = 
xs:unsignedInt
/>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
An element of type length_type defines the number of moves a stipultion allows to reach its end state and how this number is to be interpreted.
XML Source (w/o annotations (3); see schema source)
<xs:complexType name="length_type">
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="maximum"/>
<xs:enumeration value="exact"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="value" type="xs:unsignedInt" use="required">
</xs:attribute>
</xs:complexType>
Attribute Detail
type
The type attribute specifies how the number of moves specified by the value attribute is to be interpreted.
Possible values are:
  • maximum: the value attribute specifies the maximal number of moves
  • exact: the value attribute specifies the exact number of moves
Type:
Use:
required
Defined:
locally, within (this) length_type complexType
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="maximum"/>
<xs:enumeration value="exact"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Embedded Type
Derivation:
restriction of xs:string
Facets:
enumeration:
"maximum", "exact"

value

The value of the value attribute describes the number of moves to be played to reach the required endstate.
The meaning of the value depends on the
play:

  • help play: the value is the sum of all black and white moves
  • all other plays: the value is the number of moves of the side that plays the first move

Examples:
stipulation (plain text) value of value attribute
#2 2
=5 5
s#3 3
h#2 4
h#3½ 7

Type:
xs:unsignedInt
Use:
required
Defined:
locally, within (this) length_type complexType
XML Source (w/o annotations (1); see schema source)
<xs:attribute name="value" type="xs:unsignedInt" use="required">
</xs:attribute>

XML Schema documentation generated with DocFlex/XML (Kit) v1.6.6
DocFlex/XML (Kit) is a freeware edition of DocFlex/XML, which is a powerful template-driven documentation and report generator from any data stored in XML files. Based on an innovative technology developed by FILIGRIS WORKS, this new tool offers virtuoso data querying and formatting capabilities not found in anything else!
Need to convert your XML data into a clear nice-looking documentation or reports? Web-ready hypertext HTML or printable MS Word / OpenOffice.org friendly RTF? DocFlex/XML may be a cheap, quick and effective solution exactly for this task!
Have questions? Not sure how to use it? Just send us e-mail to contact@filigris.com and we are always happy to help you! See also our services at www.filigris.com