- From: Ignacio Vera <nano@informatics.bangor.ac.uk>
- Date: Tue, 25 Sep 2001 11:02:34 +0100
- To: <xmlschema-dev@w3.org>
Sorry for sending a question straigth away to you but i hope you could solve one question. When you build an XML schema you declare a target namespace, which is the namespace of the schema, although the schema can use elements belonging to different namespaces. Make any sense? One question is that using elements belonging to different namespaces can only be done by importing schemas??? That means creating namespaces is done by declaring a new XML schema, I think it makes lot of sense. In a instance document for declaring the namespace Location you use the attribute belonging to the XML schema instance schemaLocation that expect as content 1 or more structures like: 'string string' The first string can be whatever although theoretically is a namespace declaring that this XML document uses elements from that namespace, the second one is the location of the schema document where the namespace is declared. What the first string exactly means?? in the instance document you have to declare already the namespace of the document, hope the question make sense. Cheers.
Received on Tuesday, 25 September 2001 06:03:07 UTC