[sc34wg3] TMQL path language "top"-filter

Inge Henriksen inge.henriksen at bouvet.no
Fri Nov 6 04:15:29 EST 2009


I would like to have possibility to say that I only want a certain number of results, like the TOP/LIMIT clause in SQL[1]. I don't really care about the syntax all that much, but perhaps something like this to say I only want one of the e-mails that belongs to Lars Marius:

lmg / occurrence::email[1]

[1 ]http://www.w3schools.com/Sql/sql_top.asp

-"The TOP clause can be very useful on large tables with thousands of records. Returning a large number of records can impact on performance." -W3C, same should be correct with a topic maps database.

Kind regards,
Inge. 



More information about the sc34wg3 mailing list