Hello,

I need quick help !

How can I suppress an attribute of a DOM Node ?

Here my NODE : <FOO foo_attr="value"/> (it's a DOM Node)

I use Xalan and xsl syntax to find the attribute like this :
        Node foo_attr = Xpath.selectSingleNode(fooDOMNode, 
"attribute::foo_attr");

And the I do :
        fooDOMNode.removeChild(foo_attr);

But this last instruction throws an "org.w3c.dom.DOMException: DOM008 Not
found"

Please help me I just want to suppress the foo_attr of the FOO Node !!

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif


Reply via email to