complexType "addition_type"
Namespace:
Content:
complex, 3 attributes, 1 element
Defined:
globally in problem.xsd, see XML source
Includes:
definitions of 3 attributes
Used:
XML Representation Summary
<...
   
color
 = 
("white" | "black" | "neutral")
   
kind
 = 
("king" | "queen" | "rook" | "bishop" | "knight" | "pawn")
   
piece
 = 
xs:string
   
>
   
Content: 
</...>
Content Elements (1):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
An element of type addition_type represents the addition of a piece to a position.
Type Definition Detail
Type Derivation Tree
  addition_type (extension)
XML Source (w/o annotations (4); see schema source)
<xs:complexType name="addition_type">
<xs:complexContent>
<xs:extension base="square_type">
<xs:attribute name="piece" type="xs:string" use="required">
</xs:attribute>
<xs:attribute name="kind" type="piecekind_type" use="optional">
</xs:attribute>
<xs:attribute name="color" type="piececolor_type" use="optional">
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail
color
If present, the color attribute identifies the color that the piece assumes while being added. Otherwise, the piece keeps its color as specified in the piecedecl element.
The color attribute is typically used for twinnings that change the color of a piece.
Type:
Use:
optional
Defined:
locally, within (this) addition_type complexType
XML Source (w/o annotations (1); see schema source)
<xs:attribute name="color" type="piececolor_type" use="optional">
</xs:attribute>

kind
If present, the kind attribute identifies the kind that the piece assumes while being added. Otherwise, the piece keeps its kind as specified in the piecedecl element.
The kind attribute is typically used for twinnings that change the kind of a piece.
Type:
Use:
optional
Defined:
locally, within (this) addition_type complexType
XML Source (w/o annotations (1); see schema source)
<xs:attribute name="kind" type="piecekind_type" use="optional">
</xs:attribute>

piece
The piece attribute identifies the piecedecl element that declares the piece to be added.
The referential integrity is enforced by the keyref pieceIdRefAddition of the problem element.
The unique DontAddTheSamePieceTwiceInTheSamePosition of the pieces element prevents two addition child elements of the same pieces elements to add the same piece.
Type:
xs:string
Use:
required
Defined:
locally, within (this) addition_type complexType
XML Source (w/o annotations (1); see schema source)
<xs:attribute name="piece" type="xs:string" 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