stress/stress.xsd

http://xframe.sf.net/sample/stress
element russianDoll

Documentation
An example of russian doll element declaration. This text is part of a documentation tag that is the first child of the element tag.
Properties
This component is not nillable.

Model
<russianDoll
  class = xs:NCName
  id = xs:ID
  name = xs:NCName
  onlyInRussianDoll = xs:integer
  optAttr = xs:string
  reqAttr = xs:string
  test3 = st:test3Type>
rdRoot
</russianDoll>


Nested Element Summary
 rdRoot
          The root of the russian doll. 

Attribute Summary
 xs:NCNameclass
          This is the the attribute description. 
 xs:IDid
          This is the the attribute description. 
 xs:NCNamename
          This is the the attribute description. 
 xs:integeronlyInRussianDoll
          
 xs:stringoptAttr
          
 xs:stringreqAttr
          
 st:test3Typetest3
          This is yet another simple attribute test 

Attribute Detail

class

This is the the attribute description. some more text. This is some additional description to the attribute.

Type:
based on
with :
Use:
optional
Form:
unqualified

id

This is the the attribute description. some more text. some more text. This is some additional description to the attribute.

Type:
based on
with :
Use:
optional
Form:
unqualified

name

This is the the attribute description. some more text. This is some additional description to the attribute.

Type:
based on
with :
Use:
optional
Form:
unqualified

onlyInRussianDoll

Type:
xs:integer
Use:
required
Form:
unqualified

optAttr

Type:
xs:string
Use:
optional
Form:
unqualified

reqAttr

Type:
xs:string
Use:
required
Form:
unqualified

test3

This is yet another simple attribute test

Type:
st:test3Type
Use:
optional
Form:
unqualified

Local Usage
stressType

Source
<xs:element block="#all" final="#all" name="russianDoll">
<xs:complexType>
<xs:sequence>
<xs:element block="#all" name="rdRoot">
<xs:complexType mixed="true">
<xs:sequence>
<xs:element name="rdChild1" type="xs:string">
</xs:element>
<xs:element block="#all" name="rdChild2">
<xs:complexType>
<xs:choice>
<xs:element name="child2node" type="st:nodeType"/>
<xs:element name="child2stress" type="st:stressType"/>
</xs:choice>
<xs:attributeGroup ref="st:std-attrs"/>
<xs:attribute name="onlyInChild2" type="xs:integer" use="required"/>
<xs:attribute name="reqAttr" type="xs:integer" use="required"/>
<xs:attribute name="optAttr" type="xs:string" use="optional"/>
<xs:attribute ref="st:test1"/>
</xs:complexType>
</xs:element>
<xs:element name="rdChild3">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="value1"/>
<xs:enumeration value="value2"/>
<xs:enumeration value="value3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="rdChild4">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="rdChild5" type="st:test2Type">
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="st:std-attrs"/>
<xs:attribute name="reqAttr" type="xs:string" use="required"/>
<xs:attribute name="optAttr" type="xs:string" use="optional"/>
<xs:attribute ref="st:test2"/>
<xs:attribute name="onlyInRoot" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="st:std-attrs"/>
<xs:attribute name="reqAttr" type="xs:string" use="required"/>
<xs:attribute name="optAttr" type="xs:string" use="optional"/>
<xs:attribute ref="st:test3"/>
<xs:attribute name="onlyInRussianDoll" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>

stress/stress.xsd

Submit a bug or a feature.
Created by xsddoc, a sub project of xframe
hosted at