[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: About namespaces
- From: Leigh Dodds <ldodds@ingenta.com>
- To: xml-dev <xml-dev@lists.xml.org>
- Date: Thu, 28 Jun 2001 14:20:23 +0100
> -----Original Message-----
> From: SwetaG@riskinc.com [mailto:SwetaG@riskinc.com]
> Sent: 28 June 2001 13:12
> To: xml-dev@lists.xml.org
> Subject: About namespaces
>
>
> Hi,
> I know how name spaces are used and how they are declared.The
> question that comes to my mind is that how do i create the namespaces.
>
>
> Like for the microsoft xdr schemas there is a namesapce called
> urn:schemas-microsoft-com:xml-data where the things are defined.Basically
> what is defined there..the schema tags and vocabulary or its sth else.
You namespace can be any valid URI. That includes URNs as Microsoft are
using.
Exactly what, if anything, should be referenceable at that URI is a
"Frequently
Debated Question".
See: http://www.xml.com/pub/a/2001/01/10/rddl.html
The short answer is that you don't have to do anything other than decide
on which URI to use.
If you want to add some useful resources at that URI then consider
using RDDL.
See: http://www.xml.com/pub/a/2001/02/28/rddl.html
> Suppose i want to create my own namespaces and want others to use the how
> do i do it??for example i want that there are few elements say
> <book>,<isbnno>,<author> and they are defied in name spaces.So how do i
> define them first of all and then how do i create the namesapce so that
> others can use them.
RDDL allows you to provide both machine and human readable documentation
for your namespace. This can include schemas, code, schema documentation,
etc.
Hope that helps,
L.
--
Leigh Dodds, Systems Architect | "Pluralitas non est ponenda
http://weblogs.userland.com/eclectic | sine necessitate"
http://www.xml.com/pub/xmldeviant | -- William of Ockham