![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: referencing anonymous types >Thread Next - RE: overriding a datatype of an attribute overriding a datatype of an attributeTo: xmlschema-dev@--.--- Date: 7/24/2008 2:16:00 AM Hi folks, Wondering if this is possible and is it good form? Declare an attribute <xs:attribute name="type" type="xs:string" /> in which case it is used most often as. Then when i include it <xs:include schemaLocation="../attributes/type.xsd" /> and then reference it <xs:attribute name="type" use="optional" /> can i change its type to dtReferenceType <xs:attribute name="type" type="dtReferenceType" use="optional" /> The reason being I really do not want to create multiple attributes that basically do the same thing but just require a different datatype. Marijan (Mario) Madunic From mike@s... Thu Jul 24 16:40:01 2008 Received: from maggie.w3.o | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
