- From: Valeri Gavrilovets <valar@rambler.ru>
- Date: Fri, 10 May 2002 09:14:55 -0400 (EDT)
- To: xmlschema-dev@w3.org
Hopefully anyone helps me by this "trivial" problem.
I have two kinds of possible xml documents:
First---------
<callResult type="java.util.Hashtable"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://host/schema/newSession.xsd">
<result type="java.util.Hashtable">
<STATUS>OK</STATUS>
<Key1>123</Key1>
<Key2>234</Key2>
<Key3>324</Key3>
<Key4>256</Key4>
</result>
</callResult>
Second-------
<callResult type="java.util.Hashtable"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://host/schema/newSession.xsd">
<result type="java.util.Hashtable">
<STATUS>INIT</STATUS>
<ERROR>200</ERROR>
</result>
</callResult>
Now the newSession.xsd schema should describe these two kinds of xml.
Could you help me giving some good ideas?
Received on Saturday, 11 May 2002 10:39:04 UTC