In my program each time i need to update an element i have to do: element.removeAttribute("myatribute"); LinkedList attList = new LinkedList(); Attribute att = new Attribute("myatribute","value"); attList.add(att); element.setAttributes(attList); Is there a shortcut? setAttribute(String name , String value) doesn't work... Antonello