Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Schema Question from a newbie...

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 9/2/2004 1:16:00 PM

Ralph Krausse wrote:


> In this line:
> targetNamespace="urn:xmlns:25hoursaday-com:my-bookshelf" 
> defines the targetNamespage as urn:xmlns:25hoursaday-com:my-bookshelf.
> What does 'urn:xmlns:25hoursaday-com:my-bookshelf' mean? Is this just
> arbitrary text?
> Could it be anything?

A namespace is usually simply a URI to make sure it is globally unique, 
in this case
   http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#element-schema
targetNamespace is defined to be of type anyURI and that is defined here:
http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#anyURI

> In this line"
> xmlns:bk="urn:xmlns:25hoursaday-com:my-bookshelf" 
> say that the elements and data types declared with the bk prefix come
> from urn:xmlns:25hoursaday-com:my-bookshelf. What is
> 'urn:xmlns:25hoursaday-com:my-bookshelf'. I know it was defined by
> targetNamespace but what does that reslove to?
> 
> Where or what is 'urn:xmlns:25hoursaday-com:my-bookshelf'

It is just a name that tries to unique around the world.

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent