This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of React Cookbook: Recipes for Mastering the React Framework and have David Griffiths & Dawn Griffiths on-line!
See this thread for details.
Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

NameSpace URI?

 
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does the NameSpace URI represent? Some set of documents/xsd's?
When I look at this URI http://www.w3.org/1999/XSL/Transform- I just see the html msg: This is the XSLT namespace.
TIA
Sanjay
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ,
NameSpaces are used in scheemas for document validation .
These are also used to make xml more readable and clear .
you can check further http://www.w3.org/TR/WD-xml-names.
Bajwa
 
Tiger Scott
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Thanks.
I am familiar with the NameSpace usage and benefits but not some of the details thereof.
My question is (to rephrase)- how do I create a nameSpace- What set of document(s) I need to be able to create a nameSpace. Some refrences I read indicate the URI can have a set of documents or none. I do not know the documents or the structure thereof.
I am familiar with the specs but the specs do not clarify this aspect.
The latest spec document is at http://www.w3.org/TR/REC-xml-names/
Thanks
Sanjay
 
author
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The URI you specify for a namespace is not intended as a link; it is simply a way of uniquely identifying the namespace.
Often you find that if you do follow the URI as a link, it points to some documentation about the namespace, but this is entirely optional.
David
 
Tiger Scott
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
David,
Thanks.
That is what is my question- the URI points to what- what will the parser/validator do with the URI. Suppose I want to create a nameSpace what should I do? I would think there is some xsd out there in some format?
TIA
Sanjay
 
David Peterson
author
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The URI points to whatever you like. It doesn't have to point to anything. The parser does nothing with the URI. It's just a label. If you like it can point to some documentation, but it doesn't have to point to anything at all.
If you want to create a namespace, use something that is unique to you (e.g. "http://mydomainname.com/mynamespace"). If you don't have your own domain name, use something like your e-mail address (e.g. "mailto:myusername@hotmail.com?mynamespace")
David
 
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic