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

Reply via email to