elements with the same name

Hi,

I've been trying to create a schema that can validate
the following xml.

<Address type="US">
  <Street>12345 main street</Street>
  <City>JoeTown</City>
  <Zip>2456</Zip>
</Address>
<Address type="China">
  <Street>12344 lo pai street</Street>
  <City>...</City>
  <Province>..</Province>
</Address>

There is one tag name <Address>, but based on its
attribute value of "type", the elements inside of
<Address> varies.  

Thanks!!

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Received on Wednesday, 22 August 2001 05:26:59 UTC