← Prev in month ← Prev in thread

xml schema question..

From
Ashok <>
To
Date
2004-01-23T23:06:03Z
ID
<>
Thread
xml schema question..
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/
← Prev in month ← Prev in thread