[#BloombergLP-balxml-ElementAttribute-namespaceId]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ElementAttribute.adoc[ElementAttribute]::namespaceId
:relfileprefix: ../../../
:mrdocs:

Return the value of `localName` specified at the last call to `reset` or the constructor, if not `INT&lowbar;MIN`, else return the ID returned by the prefix stack for the current value of `prefix()`&period; Return &hyphen;1 if `prefix()` is an empty string, `prefixStack()` is zero, or `prefix()` is not active in the prefix stack&period; Note that, as per the XML namespace standard, an empty prefix does _NOT_ refer to the default namespace, but rather refers to _NO_ namespace&period;

== Synopsis

Declared in `&lt;balxml&lowbar;elementattribute&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
namespaceId() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
