W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2001

Namespaces vs XML doc and template XML doc

From: Daniel Flippance <DFlippance@mpsbc.com>
Date: Thu, 26 Jul 2001 20:39:57 -0400 (EDT)
Message-ID: <CBD544BC645DD211895800105A11F2CEAD3D90@MPSNTSERVER1>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
I have an XML document (eg: MyDoc.xxd) and a related schema.
I want to create a template for this type of document (eg: MyTemplate.xxt)
which uses the same schema.
So:

MyDoc.xxd:
<blah xmlns="http://MyURI/xx">...</blah <http://MyURI/xx>>

MyTemplate.xxt:
<blah xmlns="http://MyURI/xx">...</blah <http://MyURI/xx>>

ie: they are identical (MyDoc.xxd was created by copying MyTempalte.xxt and
renaming)

I am looking for opinions on whether it is good practise to have different
file types (extensions) which use the same namespace and schema.

Are they any precedents for this kind of use? (Other than .htm, .html)
Received on Wednesday, 22 August 2001 05:42:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:23 GMT