arrElementToFind.add(elementToFindBean);
}
for (int z = 0; z < countElementAdv; z++) {
Node node = theXMLconf.getSingleNode(fixXpath + "/workArchive[" + (x + 1) + "]/root");
//System.out.println(theXMLconf.getXMLFromNode(node, "ISO-8859-1"));
final ConfigurationXMLReader configurationXMLReader = new ConfigurationXMLReader(theXMLconf.getXMLFromNode(node, "ISO-8859-1"));
System.out.println(configurationXMLReader.getObjects());
MappingAdv mappingAdv = new MappingAdv();
List<Element> list = mappingAdv.extractMapping(configurationXMLReader.getObjects(), null, new HashMap<String, String>());
ArrayList<Element> arrayList = new ArrayList<Element>(list);
for (Element element : arrayList) {
final ElementToFindBean elementToFindBean = new ElementToFindBean();
List<Element> arrayListA = new ArrayList<Element>();
arrayListA.add(element);