[jdom-interest] passing elements as arguments to methods

faria hassan faria_hassan at yahoo.com
Fri May 9 14:02:28 PDT 2003


Hi,
I'm a new JDom user. I was trying to do the following:
create a Document from an XML file
modify some of the elements 
pass the modified elements to other class methods
finally, output to the screen the modified XML file.

My problem is that when I pass the modified elements
to another class method, I see that the element is
actually the old one, that is, the one defined in the
file. How can I pass the new element, without writing
to the file first?
Sorry if the question is convulated. Please let me
know if I need to clarify any issue.
Any help is greatly appreciated.
Thanks
Faria


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the jdom-interest mailing list