Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Schema Question from a newbie... [Thread Next] Re: Schema Question from a newbie...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/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
