From: Kal A. <ka...@te...> - 2004-02-19 20:56:03
|
On Thu, 2004-02-19 at 18:53, Prudence Au wrote: > Hi Kal, > > Thanks for the quick response. It is very helpful. > > Since, most likely the changes will only happen in the XTM side. It might be easiest to > delete the topic map and recreate it in the persistent store. Is there a method for me > to use to delete the whole topic map? > You just need to call the destroy() method on the TopicMap. That should handle the deletion of the map and everything in it. > One more question about merging. So far, I've just tried the command line version for > merging two files. I assume I can do the same with Java code, right? > Yeah - its probably easiest for you to look at the source for the Merge application, but basically its just the same as importing an XTM file, except that you also specify the topic map to import into - the import does the merging for you. > Thanks for both your great software and your help. > No problem! :) Cheers, Kal |