complexType "translation_type"
Namespace:
Content:
empty, 2 attributes
Defined:
globally in problem.xsd, see XML source
Includes:
definitions of 2 attributes
Used:
XML Representation Summary
<...
   
direction
 = 
("down" | "up" | "left" | "right")
   
distance
 = 
xs:unsignedInt
/>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
An element of type translation_type represents a translation of the board as (part of) a twinning change.
XML Source (w/o annotations (3); see schema source)
<xs:complexType name="translation_type">
<xs:attribute name="direction" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="down"/>
<xs:enumeration value="up"/>
<xs:enumeration value="left"/>
<xs:enumeration value="right"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="distance" type="xs:unsignedInt" use="required">
</xs:attribute>
</xs:complexType>
Attribute Detail
direction
The direction attribute defines the direction of the translation.
Only vertical and horizontal translations can be represented by a single translation element. Multiple translation elements can be used to represent more complex translations.
Type:
Use:
required
Defined:
locally, within (this) translation_type complexType
<xs:attribute name="direction" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="down"/>
<xs:enumeration value="up"/>
<xs:enumeration value="left"/>
<xs:enumeration value="right"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Embedded Type
Derivation:
restriction of xs:string
Facets:
enumeration:
"down", "up", "left", "right"

distance
The distance attribute defines the number of squares that the board is to be translated.
Type:
xs:unsignedInt
Use:
required
Defined:
locally, within (this) translation_type complexType
<xs:attribute name="distance" 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