W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2012

Override a type in a schema

From: Andrew Welch <andrew.j.welch@gmail.com>
Date: Wed, 7 Mar 2012 17:10:29 +0000
Message-ID: <CAEG2duD-N3BavNBwC3T5LMGMW-TcwS-5SjVt_gZ4-wzXHfiaYg@mail.gmail.com>
To: xmlschema-dev@w3.org
Given an element:


and an XSD for the 'theirs' namespace defining foo as xs:string, how
can I override that definition with my own type?  One way is:

<theirs:foo xsi:type="my_type_for_foo">

Is there a 1.0 way to do it without using xsi:type ?


Andrew Welch
Received on Wednesday, 7 March 2012 17:11:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:16:01 UTC