From: Michael <axi...@gm...> - 2005-08-17 08:26:19
|
Hi, > update value //a with <a><d/><e/></a> I gave this a try and what it actually does is insert '<a><d/><e/></a>' into the root 'a' element thus giving '<a><a><d/><e/></a></a>' I guess this is correct for update value (updates the content of all nodes in expr with the items in exprSingle) but does not help solve my problem. If the entire root element cannot be replaced per se, is there another way to replace all content under the root? Thanks, MB On 16/08/05, Wolfgang Meier <wol...@gm...> wrote: > > i.e. the root element stays the same but existing elements may be > > removed or new elements introduced. >=20 >=20 > should do what you want. You can't replace the root element itself. > Replacing the root imposes a few problems and would thus be difficult > to implement. However, the NullPointerException should indeed be > replaced by a more meaningful message ;-) >=20 > Wolfgang >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic= es > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |