(Non)deterministic XML Schema

G

Gijs

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
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top