Correct use of xsd:duration
Posted: Wed Feb 01, 2006 10:58 pm
I have an element named dateEntered. To be valid it must be within the past 2 weeks. This explains what I'm trying to get to in pseudocode.
attribute dateEntered
{
xsd:date
{
minInclusive ="today" - P14D
maxInclusive ="today"
}
} , # a date within the past two weeks
Can somebody help me get to the real code?
attribute dateEntered
{
xsd:date
{
minInclusive ="today" - P14D
maxInclusive ="today"
}
} , # a date within the past two weeks
Can somebody help me get to the real code?