MrNoReaction
Programmer
Is it possible to check that the value of an element is greater or equal to the value of another ? For example :
<client>
<creation_date>2006-09-20</creation_date>
<last_modification_date>2006-09-19</last_modification_date>
</client>
With my XML Schema, is there a way to make sure that "last_modification_date" is always greater or equal to the "creation_date" ?
Also, is there a way to set the default value of an element to the value of a required one ? Like having the default value of "last_modification_date" set to "creation_date" ?
Sorry if these questions don't make sense, I'm new to XML and can't find answers to these questions anywere ...
<client>
<creation_date>2006-09-20</creation_date>
<last_modification_date>2006-09-19</last_modification_date>
</client>
With my XML Schema, is there a way to make sure that "last_modification_date" is always greater or equal to the "creation_date" ?
Also, is there a way to set the default value of an element to the value of a required one ? Like having the default value of "last_modification_date" set to "creation_date" ?
Sorry if these questions don't make sense, I'm new to XML and can't find answers to these questions anywere ...