From: Pierrick B. <pie...@fr...> - 2005-11-19 14:27:51
|
Hi, Aur=E9lien DEHAY wrote: > I've got the following code in my sitemap.xmap: > <map:act type=3D"resource-exists"=20 > src=3D"xmldb:exist:///db/cocoonlist/{1}/tasks/{2}#/task/acl/entry[@user= =3D'{../ID}'][@write=3D'true']">=20 >=20 > <do some things> > </map:act> > <do other things if resource doesn't exists> >=20 > But exist always generate an xml stream when I use an xpath query. Is=20 > there a simple way to say eXist to not generate a stream (like he do=20 > without xpath in the xmldb:// query)? Errr... choose the serialization option that fits your needs ? http://exist.sourceforge.net/xquery.html#N104BD Cheers, p.b. |