<agenda> <entrada id="" tipo="">{1,1}</entrada> <grupo gid="">{1,1}</grupo> </agenda>
<xs:element name="agenda"> <xs:complexType> <xs:choice maxOccurs="unbounded"> <xs:element name="entrada"> <xs:complexType> <xs:sequence> <xs:element name="nome" type="xs:string"/> <xs:choice maxOccurs="unbounded"> <xs:element form="qualified" maxOccurs="unbounded" minOccurs="0" name="email" type="xs:string"/> <xs:element maxOccurs="unbounded" name="telefone" type="xs:string"/> </xs:choice> </xs:sequence> <xs:attribute name="id" type="xs:ID"/> <xs:attribute name="tipo" type="xs:string"/> </xs:complexType> </xs:element> <xs:element name="grupo"> <xs:complexType> <xs:choice maxOccurs="unbounded"> <xs:element name="entrada"> <xs:complexType> <xs:sequence> <xs:element name="nome" type="xs:string"/> <xs:choice maxOccurs="unbounded"> <xs:element form="qualified" maxOccurs="unbounded" minOccurs="0" name="email" type="xs:string"/> <xs:element maxOccurs="unbounded" name="telefone" type="xs:string"/> </xs:choice> </xs:sequence> <xs:attribute name="id" type="xs:ID"/> <xs:attribute name="tipo" type="xs:string"/> </xs:complexType> </xs:element> <xs:element name="ref"> <xs:complexType> <xs:attribute name="entref" type="xs:string" use="required"/> </xs:complexType> </xs:element> </xs:choice> <xs:attribute name="gid" type="xs:ID"/> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> </xs:element>
<entrada id="" tipo=""> <nome>{1,1}</nome> <email>{0,unbounded}</email> <telefone>{1,unbounded}</telefone> </entrada>
<xs:element name="entrada"> <xs:complexType> <xs:sequence> <xs:element name="nome" type="xs:string"/> <xs:choice maxOccurs="unbounded"> <xs:element form="qualified" maxOccurs="unbounded" minOccurs="0" name="email" type="xs:string"/> <xs:element maxOccurs="unbounded" name="telefone" type="xs:string"/> </xs:choice> </xs:sequence> <xs:attribute name="id" type="xs:ID"/> <xs:attribute name="tipo" type="xs:string"/> </xs:complexType> </xs:element>
<xs:element name="nome" type="xs:string"/>
<xs:element form="qualified" maxOccurs="unbounded" minOccurs="0" name="email" type="xs:string"/>
<xs:element maxOccurs="unbounded" name="telefone" type="xs:string"/>
<grupo gid=""> <entrada id="" tipo="">{1,1}</entrada> <ref entref="">{1,1}</ref> </grupo>
<xs:element name="grupo"> <xs:complexType> <xs:choice maxOccurs="unbounded"> <xs:element name="entrada"> <xs:complexType> <xs:sequence> <xs:element name="nome" type="xs:string"/> <xs:choice maxOccurs="unbounded"> <xs:element form="qualified" maxOccurs="unbounded" minOccurs="0" name="email" type="xs:string"/> <xs:element maxOccurs="unbounded" name="telefone" type="xs:string"/> </xs:choice> </xs:sequence> <xs:attribute name="id" type="xs:ID"/> <xs:attribute name="tipo" type="xs:string"/> </xs:complexType> </xs:element> <xs:element name="ref"> <xs:complexType> <xs:attribute name="entref" type="xs:string" use="required"/> </xs:complexType> </xs:element> </xs:choice> <xs:attribute name="gid" type="xs:ID"/> </xs:complexType> </xs:element>
<xs:element name="ref"> <xs:complexType> <xs:attribute name="entref" type="xs:string" use="required"/> </xs:complexType> </xs:element>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="tipo" type="xs:string"/>
<xs:attribute name="entref" type="xs:string" use="required"/>
<xs:attribute name="gid" type="xs:ID"/>