From: kal <ka...@te...> - 2004-08-20 14:12:01
|
Hi Richard, I guess that this ID is specified in your XTM instance, right ? You should be able to use getSourceLocators() to return the set of URIs that address the <topicMap> element(s) used to construct the TopicMap object. So if you parse from file http://example.com/foo.xtm and the topicMap ID attribute is "bar" then you should have a sourceLocator with the value http://example.com/foo.xtm#bar Cheers, Kal Richard Gregory wrote: >Hi All, > >I have a topic map, and I want to get the value of the id attribute of the topicMap element, which >I want to use to create a topic reifying the topic map. But, if I call the topicamp.getID() >method, it returns an ID which doesn't actually appear in the topic map at all. > >I read on the list archives that there were questions about this last year, but I was wondering if >it was fixed, and if not if there was another way to get the value of this attribute. > >Cheers, > >Richard. > > > > > >___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Tm4j-users mailing list >Tm4...@li... >https://lists.sourceforge.net/lists/listinfo/tm4j-users > > |