<xmlnsname>

The <xmlnsname> element identifies mentions of namespace names.

Specialization hierarchy

The <xmlnsname> element is specialized from <markupname>; the <xmlnsname> element is defined in the XML-mention domain module. The <markupname> element is specialized from <keyword>, and the <markupname> element is defined in the markup-name domain module.

Content model

(Text | <draft-comment> | <required-cleanup> | <text> )*

Zero or more
  • Text
  • <draft-comment>
  • <required-cleanup>
  • <text>

Attributes

The following attributes are available on this element: universal attributes and @keyref.

The following attributes are available on this element: universal attributes and the attributes defined below.

@keyref
Specifies a key name that acts as a redirectable reference based on a key definition within a map. See STUB CONTENT for information on using this attribute.

For HDITA, the equivalent of @keyref is @data-keyref

Example

This section is non-normative.

The following code sample shows how an <xmlnsname> element can be used to tag the namespace for SVG:

<p>SVG markup is specified in an <xmlelement>svg</xmlelement> element with
the namespace <xmlnamespace>http://www.w3.org/2000/svg</xmlnamespace>.</p>