@Override
	public void startElement(String uri, String localName, String name,
			Attributes atts) throws SAXException {
		if (parsedElementName.equalsIgnoreCase(localName)) {
			if (attributesMatched(uri, localName, name, atts)) {
				numLayers = 1;
			}
		} else if (numLayers > 0
				&& secondElementName.equalsIgnoreCase(localName)) {
			numLayers = 2;
		}
	}