Choice between two elements with a same name and different types

Hello.(Sorry for the previous message without subject)
I need some help...
I have to choose between 3 elements, 2 of them are  with the same name
but different type.
The following part of schema chooses Address or  only the first
Coordinate.
<xsd:complexType name="GeoCodeRequest">
		<xsd:choice>
                  <xsd:element name="Address" type="Address"/>
		      <xsd:element name="Coordinate"
type="UTMCoordinate"/>
                    <xsd:element name="Coordinate"
type="LatLonCoordinate"/>
		</xsd:choice>
</xsd:complexType>

Thanks a lot
Anna Yakubovitch
anna@locationet.com

Received on Sunday, 24 June 2001 03:27:36 UTC