[jdom-interest] How to reassign the content of an element

emmettwa at onebox.com emmettwa at onebox.com
Wed Oct 9 16:46:49 PDT 2002


If I create an element such as elm below ...
How to I reassign the value of action after the fact ?

Execute this ....

 Element elm = new Element("form");
 elm.addContent( new Element("form_id").addContent(form_id) );
 elm.addContent( new Element("action").addContent(action) );

Now how do I reassign the content of "form_id" in elm?

Emmett McLean
emmettwa at onebox.com - email
(866) 841-9139 x1160 - voicemail/fax

More information about the jdom-interest mailing list