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);
mappingAdv.buildXML(arrayListA, theXMLconf, null, null, new GenericInterface<XMLBuilder>() {
public void invoke(XMLBuilder builder, Element element) {
try {
System.out.println(element.getFieldXPath());
System.out.println(element.getFieldValue());
System.out.println(element.getQuery());