path = path + "/" + name;
path = tempPath;
    private void hookProcessingStart(String name, String raw, Attributes attr)            throws DOMException, SAXException {        /* create a DOM node from the current sax event */        Element currentElement = dispatcher.getDocument().createElement(name);        dispatcherHelper.setAttributesDOM(attr, currentElement);        if (path == null || path.equals("")) {            path = raw;            this.rootNode.appendChild(currentElement);        } else {            /* calculate, prepare and add node to the dispatcher */            try {                String tempPath = path + "/" + name;                Node xpathNode;                String[] xpath = DOMUtil.buildPathArray(path);                xpathNode = DOMUtil                        .getFirstNodeFromPath(rootNode, xpath, false);                if (xpathNode == null)                    createXpathNode(attr, tempPath);                else                    xpathNode.appendChild(currentElement);            } catch (Exception e) {                String error = "dispatcherError: "                        + DispatcherException.ERROR_500 + "\n"                        + "Could not set up xpath!\n\n DispatcherStack:\n " + e;                getLogger().error(error);                throw new SAXException(error);            }            path = path + "/" + name;        }    }