Re: [xml-dev] What is the diff between "import" vs "include" ?

From
Jonathan Robie <>
To
Ben Stover <>
Date
2008-04-15T21:27:43Z
ID
<>
Thread
Re: [xml-dev] What is the diff between "import" vs "include" ?
Ben Stover wrote:
> In a WSDL definition I saw an "import" af and *.xsd file and an "include" of an *.xsd schema.
>
> what is the difference?
>
>   
With include, everything that is included must be in the including 
schema's target namespace.  Import lets you pull in definitions and 
declarations from other namespaces.

See:
http://www.w3.org/TR/xmlschema-0/#SchemaInMultDocs
http://www.w3.org/TR/xmlschema-0/#import

Jonathan