XSL default namespace!?
The default namespace used in XSL is:
Even if a single character is changed in the namespace (inside quoted tags), I get parsing error.
The file is parsed successfully only if i gave the default namespace and parsing fails when I give any other URL.
1)So, I take it that its a pre-defined namespace..is that correct?
2)Also I wanted to know, whenever this default namespace is parsed,does the browser/parser logically checks for something in that web address?
1) I wouldn't call it pre-defined. It's just that what you think of as "xsl:stylesheet" is really "http://www.w3.org/1999/XSL/Transform:stylesheet". If you change even one character then you have changed the element name. You can, however, do this
2) Namespaces aren't checked and there is no requirement that they actually point to anything. They are only used as a unique identifier.
“The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
—Tim Berners-Lee, W3C Director and inventor of the World Wide Web
Thanks for the reply
I can see that it can be pre-defined and you need a unique identifier.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)