complexType "piecedecl_type"
Namespace:
Content:
empty, 3 attributes
Defined:
globally in problem.xsd, see XML source
Includes:
definitions of 3 attributes
Used:
XML Representation Summary
<...
   
color
 = 
("white" | "black" | "neutral")
   
id
 = 
xs:string
   
kind
 = 
("king" | "queen" | "rook" | "bishop" | "knight" | "pawn")
/>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
An element of type piecedecl_type declares one piece.
XML Source (w/o annotations (4); see schema source)
<xs:complexType name="piecedecl_type">
<xs:attribute name="id" type="xs:string" use="required">
</xs:attribute>
<xs:attribute name="kind" type="piecekind_type" use="required">
</xs:attribute>
<xs:attribute name="color" type="piececolor_type" use="required">
</xs:attribute>
</xs:complexType>
Attribute Detail
color
The color attribute indicates the default color (king, queen ...) of the piece. If the piece is added to position or moved in twinnings without further indication of its color, this is the color it will have (or keep).
Type:
Use:
required
Defined:
locally, within (this) piecedecl_type complexType
XML Source (w/o annotations (1); see schema source)
<xs:attribute name="color" type="piececolor_type" use="required">
</xs:attribute>

id
The id attribute identifies the declared piece uniquely within the problem element..
The uniqueness of the value of the id attribute is enforced by the key pieceId of the problem element.
Type:
xs:string
Use:
required
Defined:
locally, within (this) piecedecl_type complexType
XML Source (w/o annotations (1); see schema source)
<xs:attribute name="id" type="xs:string" use="required">
</xs:attribute>

kind
The kind attribute indicates the default kind (king, queen ...) of the piece. If the piece is added to position or moved in twinnings without further indication of its kind, this is the kind it will have (or keep).
Type:
Use:
required
Defined:
locally, within (this) piecedecl_type complexType
XML Source (w/o annotations (1); see schema source)
<xs:attribute name="kind" type="piecekind_type" 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