Override global element on XSD

Have an XML that I need to validate using XSD, the XSD includes a global reference to an element using "dateTime" type, the element on my XML will have a "date" type instead, so I was hoping I could override the Global XSD element reference with a local one.on global:\[code\]<xs:element name="dt" type="xs:dateTime"/>\[/code\]xml file:\[code\]<dt>2011-11-28</dt>\[/code\]on local override like this:\[code\]<xs:element name="dt" type="xs:date"/>\[/code\]
 
Back
Top