XML namespace: Difference between revisions

Content deleted Content added
Uliwitness (talk | contribs)
Undoing over-eager WebArchive-bot's mutilation of XML namespace URLs. A Webarchive URL is not suitable to denote an XML name (revision 730690363 by InternetArchiveBot (talk))
Line 27:
 
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.
 
If there is no default namespace declaration in scope, the namespace name has no value.<ref>{{cite web|url=https://www.w3.org/TR/REC-xml-names/#dt-qualname|title=Namespaces in XML 1.0 (Third Edition)|publisher=W3C|accessdate=28 April 2017}}</ref> In that case, an element without an explicit namespace prefix is considered not to be in any namespace.
 
Attributes are never subject to the default namespace. An attribute without an explicit namespace prefix is considered not to be in any namespace.