XSD: How to redefine the data type of a simpleType eg. from xs:string to xs:integer
问题 I am trying to extend and tailor an external xsd schema (of the fixml standard). I need to change the data type of some of the elements, without touching the original schema, but by redefining it; but have been finding it exceedingly cumbersome. What exists: fields-base.xsd <xs:simpleType name="LastUpdateTime_t"> <xs:restriction base="UTCTimestamp"> <xs:simpleType> what I want it to become: <xs:simpleType name="LastUpdateTime_t"> <xs:restriction base="xs:string"> <xs:simpleType> What I have