@Override
	public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
		
		//System.out.println(localName+" "+qName);
		if (qName.equalsIgnoreCase("layer")) {
			rightLayer = true;			
		}		
		else if (qName.equalsIgnoreCase("srs")) {//Odotetaan että XML-documentissa esiintyy SRS				
			rightSRS = true;
			layer = new MapLayers();
		}
		else if (qName.equalsIgnoreCase("name") && rightSRS && rightLayer) {		
			bName = true;
		} 
		else if (qName.equalsIgnoreCase("title") && rightSRS && rightLayer) {
			bTitle = true;
		}
				
	}