public void startElement(String namespaceURI, String sName, String qName,
        Attributes attrs)
    throws SAXException {
        if (isParsing || qName.equals(currentRoot)) {
            isParsing = true;
            List xmlElements = (List) xmlElementsMap.get(currentRoot);
            xmlElements.add(qName);
        }
    }