8 Mar
2011
8 Mar
'11
12:46 a.m.
Hi, I've started using BaseX as a database for a PHP project. I can open the database and add nodes but I can't delete nodes. I've tested the XQUERY on the GUI and it works just fine. Any clue? Here is the xquery: Here is the php code: [.] $session->execute("OPEN data"); $session->execute("XQUERY delete nodes (//definition/item[@type='test'])"); I've tried without "XQUERY" but gives the same result. Would be nice to have a working example of such use. Best Regards, Yoann Maingon --------------------------------------- Yoann Maingon Prodeos +33 6.64.32.49.66 <mailto:yoann.maingon@prodeos.com> yoann.maingon@prodeos.com LOGO_14032009_OnWhite_Signature www.prodeos.com