I use this code to create or update actuel attribute if necessary.

            element = (Element) param.selectSingleNode("//[EMAIL PROTECTED]'"+ id +"']");

            if (actuel.equals("PEL")||actuel.equals("CEL")) element.addAttribute("actuel", actuel);

 

I would remove this attribute existing or not before creating a new.

 

I’ve tried with element.remove(element.attribute(“actuel”));

 

Syntax is correct but it doesn’t work with TOMCAT.

 

If somebody can help me ?

 

 

 

Jacques SAINT-PIERRE

Banque Féderale des Banques Populaires

Direction Technologies / Responsable Projets

Le Ponant de Paris

5 rue Leblanc

75511 Paris Cedex 15

Tél : 01.40.39.66.20 et GSM 06.07.78.07.54

Fax : 01.53.78.76.20

 

Reply via email to