[Home] [By Thread] [By Date] [Recent Entries]


Hi XML Devs..

I am defining a xml schema and have run into the below
scenario.

Need to do a 'bit wise OR' kind of operation....

eg. I have a <name> element. It SHOULD either contain
<first> or <last> element, if it contains both, that
is also fine.

i.e (first) | (last) | (first,last)

Is there a way to define this in XML Schema? I tried
using <choose>, but get the Unique Particle
Attribution error.

Thanks

Ashok

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member