code: protected void leaving(NodeData node, int level) throws RepositoryException
     {
  
        try
        {
           if (!node.getQPath().getName().equals(Constants.JCR_XMLTEXT))
           {
  
              if (Constants.ROOT_PATH.equals(node.getQPath()))
                 contentHandler.endElement(Constants.NS_JCR_URI, Constants.NS_JCR_PREFIX, JCR_ROOT);
  
              else
                 contentHandler.endElement(node.getQPath().getName().getNamespace(), node.getQPath().getName().getName(),
                    getExportName(node, true));
           }
        }
        catch (SAXException e)
        {
           throw new RepositoryException(e);
        }
     }
docs: /*
  (non-Javadoc)
  @see
  org.exoplatform.services.jcr.dataflow.ItemDataTraversingVisitor#leaving(org.exoplatform.services
  .jcr.datamodel.NodeData, int)