AnsweredAssumed Answered

how to get the selected checkbox item from XSD file

Question asked by bvlspadmavathi on Apr 28, 2007
Latest reply on Apr 28, 2007 by arielb
I have written code for radio button in the schema as :

<xs:simpleType name="my_choices">
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="first_choice"/>
<xs:enumeration value="second_choice"/>
<xs:enumeration value="third_choice"/>

</xs:restriction>
</xs:simpleType>

<xs:element name="my_group">
<xs:complexType>
  <xs:sequence>
   …
     <xs:element name="my_radio">
     <!– force radios by using appearance="full" –>
     <xs:annotation><xs:appinfo>
       <alf:appearance>full</alf:appearance>
     </xs:appinfo></xs:annotation>
     </xs:element>
   …
  </xs:sequence>
</xs:complexType>
</xs:element>

my doubt is how to access the enumeration value defined the complex type as first_choice in xsl style sheet?

Outcomes