[#BloombergLP-balxml-Reader-nodeNamespaceId]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Reader.adoc[Reader]::nodeNamespaceId
:relfileprefix: ../../../
:mrdocs:

Return the namespace ID of the current node if the current node has a namespace id and a negative number otherwise&period;

== Synopsis

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

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

== Return Value

the namespace ID of the current node, or a negative number if it has none


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