From: Lars H. <he...@se...> - 2006-02-05 18:31:11
|
Hi Thomas, [...] > is it possible with Tolog (from TM4J 0.9.7) to construct a query string that > finds exactly one topic with a given id or source locator? > select $T from source-locator($T,s"mybase#myid") ? [...] Just a guess (did not tried it): is the 's' prefix necessary? If you're calling the source-locator predicate tolog should already know that you're searching for a source locator. I believe that the tolog processor interprets the 's"mybase#myid" as the pattern it should match and since there is no source locator that matches the result is empty. Best regards, Lars -- http://semagia.com |