You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Ajay Aggarwal <aa...@covergence.com> on 2007/07/06 18:07:55 UTC
annotations from
Is it possible to get annotations from enumerations?
<xsd:simpleType name="OpState">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="up">
<xsd:annotation>
<xsd:documentation xml:lang="en-US">Resource is
active</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="down">
<xsd:annotation>
<xsd:documentation xml:lang="en-US">Resource is
inactive</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
Thanks.
-Ajay