Re: TMQL: Minor issue: Plurals for paths
Lars Heuer <[email protected]>
| Newsgroups | gmane.text.xml.xtm.general |
|---|---|
| Organization | Semagia |
| Message-ID | <[email protected]> |
Given:
Children of topics are tmdm:occurrence and tmdm:name
topic/child::* = c for c in (topic.getOccurrences() |
topic.getNames())
How do we satisfy:
topic/occurrences
or
topic/names
?
Wouldn't it be much more logical if we mandate
topic/occurrence which means topic/child::*[.isa occurrence]
or
topic/name which means topic/child::*[.isa name]
and
topic/homepage which means topic/child::*[.isa homepage
and
.isa occurrence
and .isa name]
My problem with the current approach: Some think that Toma works
(it does not) and some think that TMAPI works (it does not).
Best regards,
Lars
--
Semagia
<http://www.semagia.com>
<https://twitter.com/larsheuer/> Twitter
<http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list
<http://tinytim.sourceforge.net/> Open Source Topic Maps engine
<http://mappa.semagia.com/> Mappa - Python Topic Maps engine