W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2003

xs:union alternative

From: Tony Yip <tony.yip@softwareag.com>
Date: Tue, 3 Jun 2003 17:30:10 +0800
To: <xmlschema-dev@w3.org>
Message-ID: <000a01c329b2$bbd4aa60$10002dca@saghk.softwareag.com>
I am seeking any alternative to replace xs:union. Suppose I have an
element which
allow the following contents - "UTF-8", "GB2312" & any String.
Normally, I can create 2 simpleTypes (one for "any String" and one for
values) and using xs:union. Is there any alternative that I can define 1
simpleType to
solve the problem.
Received on Tuesday, 3 June 2003 05:30:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:11 UTC