[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: About namespaces

  • From: Leigh Dodds <ldodds@i...>
  • To: xml-dev <xml-dev@l...>
  • Date: Thu, 28 Jun 2001 14:20:23 +0100

top

> -----Original Message-----
> From: SwetaG@r... [mailto:SwetaG@r...]
> Sent: 28 June 2001 13:12
> To: xml-dev@l...
> 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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.