<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have an XML, for
example:<BR><BR><booksList><BR> <bookItem
id="1"><BR> Moby
Dick<BR> </bookItem><BR> <bookItem
id="2"><BR> Don
Quijote<BR> </bookItem><BR>
<bookItem id="3"><BR>
IT<BR> </bookItem><BR></booksList><BR><BR>And a
path, for example, /booksList/bookItem[@id=2]<BR><BR><BR>I know that using XPath
I can retrieve this value (Don Quijote), but how can<BR>I modify the xml using
this path to put other value by "Don Quijote"?<BR><BR>can I do that using JDOM?
I mean, a method<BR>SOME_METHOD(xml,path,newvalue) and generates me the xml
adding the newvalue<BR>to the path specified.<BR><BR>Any help would be
appreciate</FONT></DIV></BODY></HTML>