Subject: Re: [xsl] Namespaces conventions: Why ALWAYS "http:..." tags ? From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Thu, 01 Feb 2007 13:41:53 +0100 |
From my point fo view it is just a tag or label which could be namedNo, it is not a tag or label. You may compare it with an instruction space, language name or scope (but all fail to cover namespaces, really). The namespace prefix can be compared to a tag or label, and can be chosen freely, regardless of the namespace itself.
Cheers, -- Abel Braaksma http://www.nuntia.nl
Whenever I looked into XSLT stylesheets with namespace declarations I see ALWAYS a scheme like
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
or more general
xmlns:foo="http://www.somedomain.com/foobarlabel"
This is somehow confusing because the namespace has nothing to do with a WWW Hyperlinks/URLs.
>From my point fo view it is just a tag or label which could be named
xmlns:foo="aabbccdd"
as well Or is there somewhere a specs which requires a "http...." declaration
What is the reason why all the coders use "http...." URL like namespace names ?
Ben
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Namespaces conventions: Why A, Ben Stover | Thread | RE: [xsl] Namespaces conventions: W, Michael Kay |
Re: [xsl] Wrap changing element seq, David Carlisle | Date | RE: [xsl] Namespaces conventions: W, Michael Kay |
Month |