<xs:attributeGroup name="space2">
<xs:attribute name="space" use="optional" form="qualified">
<xs:annotation>
<xs:documentation>Allows one to signal to an application whether an element's white space is "significant". The behavior of xml:space cascades to all descendant elements, but it can be turned off locally by setting the xml:space attribute to the value "default".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="default">
<xs:annotation>
<xs:documentation>Allows the application to handle white space as necessary. Not including an xml:space attribute produces the same result as using the default value.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="preserve">
<xs:annotation>
<xs:documentation>Instructs the application to maintain white space "as-is", suggesting that it might have meaning.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:attributeGroup> |