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

Return the nesting depth of the current node in the XML document&period; The root node has depth 0&period;

== Synopsis

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

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


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