commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Rogers" <d...@excira.com>
Subject Insert using JXpath?
Date Sat, 22 Nov 2003 01:35:23 GMT


Hi,

Im using jxpath with jdom and im wondering if it is possible
to insert an element between two other elements. I thought
context.setValue("document/paragraph[3],new Element("paragraph")); for
examlple
would do it but this replaces the existing paragraph[3] with the new one..

I need to  insert...how can i do this...with jxpath?
Or should I just do it the jdom way?

Thanks,

-Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message