(Non)deterministic XML Schema

Gijs

Usenet Archive
Joined
Jan 21, 2004
Messages
3
Reaction score
0
I wish to allow any of the following five sequences to specify the date of an historical event.

<EventDate>1677-06-21</EventDate>
or
<EventDate modifier="approximately">1677-06-01</EventDate> or <EventDate modifier="after">1677-01-01</EventDate> or <EventDate modifier="before">1678-01-01</EventDate> or both <EventDate modifier="after">1677-01-01</EventDate> <EventDate modifier="before">1678-01-01</EventDate>

I guess that the solution will need derivations of an abstract type and the use of the instance namespace, but I can't figure out an XML Schema that is deterministic.

Who can help me?
Thanks and regards,
Gijs
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,799
Members
249,594
Latest member
henrywalsh

Latest Threads

Top