code: @Override
      public void startElement(String namespaceURI, String sName, String qName, Attributes attrs)
              throws SAXException {
          if (isParsing || qName.equals(currentRoot)) {
              isParsing = true;
              currentNode = new XMLNode(currentNode, qName);
              for (int i = 0; i < attrs.getLength(); i++)
                  currentNode.attrs.put(attrs.getLocalName(i), attrs.getValue(i));
              if (qName.equals(currentRoot))
                  xmlElementsMap.put(qName, currentNode);
          }
      }
docs: {@inheritDoc}