Content deleted Content added
m Robot-assisted disambiguation (you can help!): Namespace |
Adding clarification about Namespaces resembling URLs. |
||
Line 7:
A namespace is declared using the reserved XML attribute <code>xmlns</code>, the value of which must be a [[Uniform Resource Identifier|URI]] (Uniform Resource Identifier) reference, e.g.:
<pre><nowiki>xmlns="http://www.w3.org/1999/xhtml"</nowiki></pre>
Note, however, that the URI is not actually read
The declaration can also include a short prefix with which elements and attributes can be identified, e.g.: <pre><nowiki>xmlns:xhtml="http://www.w3.org/1999/xhtml"</nowiki></pre>
|