resolveAttributeUri
fn
string resolveAttributeUri(
string attrName,
string attrPrefix,
const string[string][] nsStack) @safe nothrowResolves the namespace URI for an attribute name.
Special rules:
"xmlns"and"xmlns:*"attributes always resolve to
"http://www.w3.org/2000/xmlns/".
- Unprefixed attributes (other than xmlns) have no namespace (empty string),
because the default namespace does not apply to attributes.
- Prefixed attributes are resolved via the namespace stack.
Parameters
attrName | Attribute QName. |
attrPrefix | Prefix portion of the attribute QName. |
nsStack | Namespace scope stack. |
Returns
The resolved namespace URI.