[xml] clarification on group element containing choice.



 

Hi,

I need a clarification regarding group element.

A group element can contain choice.

My doubt is that can this choice element enclosed inside can have attributes.

Like :

     <xs:group name="custGroup">

          <xs:choice maxOccurs="unbounded">

          <xs:element name="employee"/>

          <xs:element name="member"/>

          </xs:choice>

    </xs:group>

 

Thanks and regards,

murali

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]