OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: About namespaces

A namespace is just a URN (basically a string identifier), it does not
defines any of the name it contains, and there is no way to do it.

If you want to define some elements and their structure, you have to create
a schema, using a schema language like DTD (which is unfortunately not
namespace aware), XDR, the W3C XML Schema Language, RELAX, etc.

As far as I know, there is no standard way of binding a schema to a
namespace without a document. The current approach is generally to bind a
document to a namespace using xmlns attributes AND to a schema using
different techniques (e.g. the DTD DOCTYPE element, attributes in a special
namespace for XDR and the W3C XML Schema).

Maybe RDDL can be used to bind a namespace expressed as an URL to a set of
schema in different languages ?

Nicolas Lehuen

-----Message d'origine-----
De : SwetaG@riskinc.com [mailto:SwetaG@riskinc.com]
Envoye : jeudi 28 juin 2001 14:12
A : xml-dev@lists.xml.org
Objet : About namespaces

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.

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.

can anybody answer this question?


The xml-dev list is sponsored by XML.org, an initiative of OASIS

The list archives are at http://lists.xml.org/archives/xml-dev/

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@lists.xml.org