Re: [sc34wg3] Re: TMQL Issue: Functions and Predicates as first-class topics
"Geir Ove Grønmo" <[email protected]> Thu, 15 Mar 2007 13:23:33 +0100
| Newsgroups | gmane.text.xml.xtm.tmql |
|---|---|
| Message-ID | <[email protected]> |
On 3/15/07, Lars Marius Garshol <[email protected]> wrote: > > And how hard is it to explain, anyway? Let's see if I can do it: > > Each function becomes a topic of type tmql:function, with an internal > occurrence tmql:return containing the query expression. The function > name becomes an item identifier for the topic. > > Doesn't look like it's much of a problem to explain. Hmm, lots of unanswered questions just popped up in my head: - In *which* topic map should the function become a topic? The topic map which the query is executed against? The topic map that *holds* the query itself? Or is it implementation specific? - Will it be possible to put different queries in different topic maps? - Will it be possible for an individual query to evaluate expressions on itself? -- Geir O.