- From: Martin Gudgin <marting@develop.com>
- Date: Tue, 3 Jul 2001 11:15:16 +0100
- To: "Andrei Astahov" <AAstahov@hkw.co.uk>, <www-xml-schema-comments@w3.org>
The targetNamespace attribute is used to specify which namespace the schema constructs such as element declarations, attribute declaration and type definitions are part of. Or, put another way, which namespace the schema describes. Or, put yet another way, which namespace the schema can be used to validate. So, a schema with a targetNamespace of http://example.org/demos could be used to validate documents containing elements and/or attributes from that namespace. Regards 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:17 AM Subject: targetNamespace - what is it for? > Could someone please explain the purpose of the targetNamespace attribute, > other than imposing restrictions on INCLUDE element? > > When the value of this attribute is read and how it is used (or might be > used) by parsers and applications? > I read through > XML Schema Part 0: Primer > http://www.w3.org/TR/2000/WD-xmlschema-0-20000407/ > XML Schema Part 1: Structures > http://www.w3.org/TR/2000/CR-xmlschema-1-20001024/ > Namespaces in XML http://www.w3.org/TR/REC-xml-names/ > and still cannot get clear picture on that. > > aa >
Received on Tuesday, 3 July 2001 06:17:04 UTC