From: <sju...@ko...> - 2004-06-10 12:12:07
|
P=E5 10. jun. 2004 kl. 14.51 skrev Scerri, Antony (ELSLON): > Hi > > You are getting this error because you are trying to query the=20 > constructed > XML. When you do not reference anything below $current you are simply > outputting its contents which is fine. But as soon as you try = something > like $current/entry that=92s trying to query it. In eXist constructued=20= > XML > (ie where you have wrapped the entry in <hit.....>) cannot be queried=20= > later > on as its in a different DOM model used for returning the output. Hope=20= > that > makes some sense. Thanks for the explanation, only problem is, that it used to work=20 before, with the only difference being that I added a new element=20 around each result. Even before this, I processed the result nodes to=20 restructure them better before sending the result out of eXist's=20 domain, without any hickups (mostly, that is). I need the=20 postprocessing since I need to augment the result with some metadata=20 found in another document stored in eXist. As far as I can see, I am doing nothing new, I am doing exactly what I=20= was doing before, just with one more level. It used to work, and now it=20= doesn't. Sjur |