W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2002


From: Mauni, Manisha <Manisha.Mauni@ind.xerox.com>
Date: Thu, 25 Apr 2002 05:22:04 +0100
Message-ID: <8317023216D1D511938B0008C7331C9B31CBC7@INDSSDMS01>
To: xmlschema-dev@w3.org
Hello all.
I am having a doubt regarding import/include tags.
I'll appreciate the help.

I am not able to understand the basic purpose of these tags. Let me explain
the doubt by an example.

Say we have two  schemas 
	a.xsd  (having elements a1 a2 ) and
	b.xsd  (having elements b1 b2 and b3 which extends a1 of a.xsd).

Now if b.xsd  imports/includes a.xsd what will b.xsd be like.
	1) will it  have elements (a1 a2 b1 b2  and b3 )
	2) or will it have  (b1 b2 and b3 ) where b3 will internally have a1
of a.xsd

Hope i am able to explain my doubt. 

(I am clear that the import will be used if a.xsd and b.xsd are from
different namespaces and include will be  used if both are in the same

Thanks in advance

Received on Thursday, 25 April 2002 00:43:55 UTC

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