Content deleted Content added
Undid revision 1019450522 by 2001:16A2:CA4E:8000:DC09:BCD8:4EE0:1997 (talk) |
Tag: Reverted |
||
Line 19:
For example, the following declaration maps the "xhtml:" prefix to the XHTML namespace:
<pre><nowiki>xmlns:xhtml="http://www.w3.org/
Any element or attribute whose name starts with the prefix "xhtml:" is considered to be in the XHTML namespace, if it or an ancestor has the above namespace declaration.
Line 25:
It is also possible to declare a default namespace. For example:
<pre><nowiki>xmlns="http://www.w3.org/
In this case, any element without a namespace prefix is considered to be in the XHTML namespace, if it or an ancestor has the above default namespace declaration.
|