System.out.println("Element found, name: " + curElement.getName());
if (debug>0) { System.out.println("Element found, name: " + curElement.getName()); }
	public void getAttributeElement(String attributeValue) {		XPath xpathSelector = DocumentHelper.createXPath("//*[@*='#:" + attributeValue + "'] | //*[@*='bws:" + attributeValue + "']");		// XPath-Ausdruck: //*[@*='#:scriptid'] | //*[@*='bws:scriptid']		List results = xpathSelector.selectNodes(xmlDocument);		List elementAttributes;		Element curElement;		Attribute curAttribute;		String tempString;		for (Iterator elementIterator=results.iterator();elementIterator.hasNext();) {			curElement = (Element)elementIterator.next();			elementAttributes=curElement.attributes();			System.out.println("Element found, name: " + curElement.getName());			// curElement.setName("foundElement" + curElement.getName());			for (Iterator attributeIterator=elementAttributes.iterator();attributeIterator.hasNext();) {				curAttribute=(Attribute)attributeIterator.next();				System.out.println(attributeValue + "-" + curAttribute.getValue() + "-" + curAttribute.getValue().equals("#:" + attributeValue));				if ((curAttribute.getValue().equals("#:" + attributeValue)) || (curAttribute.getValue().equals("bws:" + attributeValue))) {					System.out.println("--> " + curAttribute.getValue());					curAttribute.setValue("javascript:bwsexec(" + attributeValue + ")");				}			}		}	}