W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2001

how can use xml-scheme to choose some attribute?

From: Mario Brust <mbrust@virbus.de>
Date: Mon, 16 Jul 2001 11:33:29 +0200
To: <www-xml-schema-comments@w3.org>
Message-ID: <000c01c10dda$5f3dc5c0$3101a8c0@virbus.de>
I have a xml-scheme file.
One element ("resource") can have 2 Attributes "id" and either "location" or
"external". But in my Scheme you are allowed to use both or nothing. (id is
required and not the problem)

How can force somebody to choose between these two attributes.

thanks in advance
Mario Brust


System Development
Fon   +49(0)341-979-7435
Fax   +49(0)341-979-7409
Received on Monday, 16 July 2001 05:31:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:56 UTC