W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2001

validation by types not by names

From: Oleg Tkachenko <olegt@multiconn.com>
Date: Tue, 11 Dec 2001 23:03:01 +0200
To: <xmlschema-dev@w3.org>
Message-ID: <FHEBIIJOBHDNLGLAHNBPAEMLCGAA.olegt@multiconn.com>

I have a little bizarre xml design where element names are not persistent but can be different in every document. The only persistent part is root element and an elements types, e.g.

<user-defined-name1 xsi:type="structure" attr1="value">
	<user-defined-name2 xsi:type="text-field" attr2="value"/>
	<user-defined-name2 xsi:type="text-field" attr2="value"/>

How can I validate such documents?

Oleg Tkachenko,
Multiconn International, Israel 
Received on Tuesday, 11 December 2001 16:01:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:56 UTC