Hello,

i�ve trying to do some xupdate instructions. But every time i get:

XML:DB Exception occured 1

and nothing is updated.
Here is my xupdate code:

try {
String xupdate = "<xu:modifications version=\"1.0\"" +
" xmlns:xu=\"http://www.xmldb.org/xupdate\";>" +
" <xu:update select=\"/page/header/"+nodeid+ "\">" +node + "</xu:update>"+
"</xu:modifications>";

System.out.println( xupdate );

XUpdateQueryService service =(XUpdateQueryService) col.getService("XUpdateQueryService", "1.0");
service.updateResource( Integer.toString( kernid ), xupdate );
return true;
}


By the way, i open the db in an other routine.
So any advice out there?

Greetings
Thomas Sempf



Reply via email to