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

Re: Override a type in a schema

From: Andrew Welch <andrew.j.welch@gmail.com>
Date: Wed, 7 Mar 2012 17:37:37 +0000
Message-ID: <CAEG2duDhaQ-Zuv1vz7=C-HLtm8FvqRqtGbAgVvGvS0Xp81f7mw@mail.gmail.com>
To: Michael Kay <mike@saxonica.com>
Cc: xmlschema-dev@w3.org
On 7 March 2012 17:29, Michael Kay <mike@saxonica.com> wrote:
> Given a suitable API, you can validate the element against any type you
> like.
>
> One such suitable API is the XSLT instruction:
>
> <xsl:copy-of select="theirs:foo" type="my:type"/>

Ah ok, I was hoping I was missing some way for my.xsd to import
their.xsd and override the type somehow...


-- 
Andrew Welch
http://andrewjwelch.com
Received on Wednesday, 7 March 2012 17:38:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 March 2012 17:38:10 GMT