[topicmapmail] xpath: stop at first match

Alexander Johannesen alexander.johannesen at gmail.com
Mon Jul 31 22:13:45 EDT 2006


On 8/1/06, Carlo Moneti <cmoneti at twcny.rr.com> wrote:
> But my issue is this example (any path will do):
> /topicMap/topic[@id='$id']

/topicMap/topic[@id='$id'][1]

If your XPath engine is smart, it will do what you want.


Alex
-- 
"Ultimately, all things are known because you want to believe you know."
                                                         - Frank Herbert
__ http://shelter.nu/ __________________________________________________


More information about the topicmapmail mailing list