XML namespace: Difference between revisions

Content deleted Content added
Monkbot (talk | contribs)
Fix typo: xmln instead of xmlns
Line 14:
 
== Namespace declaration ==
An XML namespace is declared using the reserved XML attribute <code>xmlnxmlns</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: