I\'m trying to write a xml schema that will validate this piece of xml:
14 march 2007
The a
You can have a element with restriction and attribute(-s). The key is to define custom type with it's restrictions and then using it add attributes to it. Refer here: Content restriction and attribute validation on the same element in XSD
You cannot merge both a restriction and an extension into one block of XSD. The solution that you have with the "ReviewDate" simple type is the best solution I know of.
Marc