code: public void visit(final ElementNode pNode) throws TTIOException {
          final long nodeKey = pNode.getDataKey();
          mRtx.moveTo(nodeKey);
          for (int i = 0; i < pNode.getAttributeCount(); i++) {
              mRtx.moveToAttribute(i);
              addLeafLabel();
              mRtx.moveTo(nodeKey);
          }
          for (int i = 0; i < pNode.getNamespaceCount(); i++) {
              mRtx.moveToNamespace(i);
              addLeafLabel();
              mRtx.moveTo(nodeKey);
          }
          if (pNode.hasFirstChild() || pNode.getAttributeCount() > 0 || pNode.getNamespaceCount() > 0) {
              if (!mLabels.containsKey(pNode.getKind())) {
                  mLabels.put(pNode.getKind(), new ArrayList<ITreeData>());
              }
              mLabels.get(pNode.getKind()).add(pNode);
          }
      }
docs: Visiting an {@link ElementNode}.
  
  @param pNode
  to be visited
  @throws TTIOException