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>
Hello!

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"/>
</user-defined-name1>

How can I validate such documents?

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:25 GMT