Lists Home |
Date Index |
AmirHossein GholamiPour wrote:
> Hello to every body
> Last night I was studying some features of XML but I didn't understand
> NameSpace completely,and what it is used for and the specification of URI
> which I don't know the difference with URL.
For your purpopses you can ignore any differences. Just think
of the URI used in the namespace definition as "A galactic
wide unique string".
The idea is that the namespace prefixes in the xml file can be
kept short, like
Because there are not many short strings, the prefix is mapped
onto the real namespace "name", an URI. An URL is a specific
URI, so you can use an URL if you like. If you have already
a domain allocated with the authorities, you cen use it, like
Note that it is not necessary to point to a real life document,
you don't even have to have a server running. The idea is that
if everybody uses a domain name which he/she owns, there can't
be any unintentional name clashes.
- From: "AmirHossein GholamiPour" <email@example.com>