XML namespace: Difference between revisions

Content deleted Content added
m link
Huttarl (talk | contribs)
m Removed the "pseudo" from "pseudo-attribute", which I had put in earlier. The W3C does not describe namespace binding attributes as pseudo-attributes.
Line 14:
 
== Namespace declaration ==
An XML namespace is declared using the reserved XML pseudo-attribute <code>xmlns</code> or <code>xmlns:''prefix''</code>, the value of which must be a valid [[#Namespace names|namespace name]].
 
For example, the following declaration maps the "xhtml:" prefix to the XHTML namespace: