[topicmapmail] Classification of occurrences using keywords
Murray Altheim
m.altheim@open.ac.uk
Mon, 11 Nov 2002 17:52:08 +0000
Jason Cupp wrote:
> You could create topics for the keywords and link them with <resourceRef>s.
> (Not sure if resourceRefs are suppose to link to topics) This would create
> the possibility for future merging and allow you to browse by keyword in a
> navigator...
If you do this you probably would want to scope the keyword topic's base
names so that they aren't accidentally merged. <resourceRef> links are
used to point something considered as an actual resource, so in your
example, the topic *element* would be considered as a resource. While not
strictly incorrect, it's pretty confusing; you could put an ID on the
<resourceData> element and point to that instead, since it's the content
of the <resourceData> that is the resource, not the <topic> wrapper.
You also probably don't want to require custom topic map processing
functionality. Pointing to an XML element within an XTM document and
expecting to obtain its DOM Text node as a resource is probably not
asking too much.
Murray
......................................................................
Murray Altheim <http://kmi.open.ac.uk/people/murray/>
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK
If you're the first person in a new territory,
you're likely to get shot at.
-- ma