public void startElement(String uri, String localName, String qName,
			Attributes attributes) throws SAXException {

		if (qName.contains(":")) {

			buffer.append(qName.substring(0, qName.indexOf(":") + 1));
			qName = qName.replace(buffer.toString(), "");
			buffer.delete(0, buffer.capacity());
		}

		branche += qName.toLowerCase();
		xPaths.push(branche);
		// HashMap<String, String> elmt = new HashMap<>();

		String elmt = "";
		

		for (int i = 0; i < attributes.getLength(); i++) {

			String name = attributes.getLocalName(i);

			String value = attributes.getValue(i);

			if (!name.contains("xsi:schemaLocation") && !name.contains("xmlns")) {

				if (all == false) {
					if (contains(elements2Analyze, branche)) {

						// HashMap<String, String> elmt = new HashMap<>();
					//	elmt.clear();

					//	elmt.put(branche, value);
						if(value.equals(""))
							value="empty";
						
						elmt=name+"#"+branche+"#"+value;

						//repositoryHandler.addAttributes(name, elmt);
						repositoryHandler.addAttributes(elmt);
					}
				} else {

					// HashMap<String, String> elmt = new HashMap<>();
				//	elmt.clear();
					//elmt.put(branche, value);

				//	System.out.println("Attribute:" + name + ", Info:" + elmt);
					if(value.equals(""))
						value="empty";
					elmt=name+"#"+branche+"#"+value;
					//repositoryHandler.addAttributes(name, elmt);
					repositoryHandler.addAttributes(elmt);
				}
			} else if (name.contains("xmlns")) {
				repositoryHandler.setSchema(value);
			}
		}

		branche += ".";

	}