Boris - another one for you ; ) I have an ID in the XML file which is a hex number, eg: <ID>0x3C</ID> my schema decribes this as <xsd:element name="ID" type="xsd:string"/> BUT this isn't a string. Can I use decimal even though it's in hex? Should I try and get the XML to use pure decimal? Regards, Duncan