Hi, Jean-Charles,

> 
> And the I do :
>         fooDOMNode.removeChild(foo_attr);
> But this last instruction throws an "org.w3c.dom.DOMException: DOM008 Not
> found"

DOM does not consider Attr as child node of the element. Thus, to remove
an attribute you should do smth like :
(Element)fooDOMNode.removeAttributeNode((Attr)foo_attr).

See Element & NamedNodeMap interfaces
(http://www.w3.org/TR/DOM-Level-2-Core/core.html)

Elena

Reply via email to