Different namspaces in one schema

Hello!

Is ist possible/valid to have in some way elements with different namespaces
in one schema, without using the <import> element?

For example:

<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.autos.de" xmlns:car="http://www.autos.de" >
 
 <element name="A" type="string"/>
 <!-- etc. -->
<element name="B" type="string" xmlns:other="http://www.other.com"/>

</schema>


How would look the instance-document? What is the targetNamespace of element
name="B" and which effect takes the xmlns:other="http://www.other.com"?
Are there any other possibilities without <import>?

Thank you.

Greets,

Thilo


-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Received on Thursday, 6 December 2001 19:30:35 UTC