Re: INCLUDE/ IMPORT vs xmlns

All a namespace declaration does is allow you to use a particular prefix in
an XML document and have the prefix be bound to a particular namespace. It
has no effect in terms of which schema components from which namespace are
actually available to a schema processor.

In contrast the include and import constructs in XML Schema bring in schema
components such as element declarations, attribute declarations and type
definitions making them available in the including or importing schema.

Martin Gudgin
DevelopMentor

----- Original Message -----
From: "Andrei Astahov" <AAstahov@hkw.co.uk>
To: <www-xml-schema-comments@w3.org>
Sent: Tuesday, July 03, 2001 9:20 AM
Subject: INCLUDE/ IMPORT vs xmlns


> What are  the advantages of using INCLUDE or IMPORT elements while the
same
> seemingly can be acheived by using xmlns attributes?
>
>

Received on Tuesday, 3 July 2001 06:23:20 UTC