Hi George,
George Tryfon wrote:
>Hello Kal
>
>On opening XTM files with TM4J, it seems to me that the
>"Topic Map id" that is registered in the XTM is ignored.
>instead the TM4J creates a new id for the "Topic Map"
>
><topicMap id="abc"
> xml:base="c:\xyz\123.xtm"
> xmlns="http://www.topicmaps.org/xtm/1.0/"
> xmlns:xlink="http://www.w3.org/1999/xlink">
></topicMap>
>
>instead of "abc" it gives to me something like "x1k75974ts-0"
>is this in purpose?
>
>
>Also I would like to be able to change some id(s) from already registered
>"Topics".
>Are you thinking to include this "id change" in the future?
>
>
I think there is a way around, a little trick that is commonly used in
topic map engines,
just add a sourcelocator of the form [xml:base]#[id] to the object. for
your example
you have to add "c:\xyz\123.xtm#thisid" to set "thisid" for some topic
or other topicmap object.
hope that helps.
stefan
--
My place : http://user.cs.tu-berlin.de/~lischke
|