I have an XML file like this:
<?xml version="1.0" encoding="UTF-8"?>
<items>
<item id="1">
<valid_from>2010-07-09</valid_from>
<valid_to>2010-07-12</valid_to>
</item>
<item id="2">
<valid_from>2010-07-09</valid_from>
<valid_to>2009-07-12</valid_to>
</item>
</items>
Is it possible to define an XML Schema thats saying the valid_from element has to be older then the valid_to element?