At 06:30 PM 9/6/2006, Jay Johnston wrote: >Unfortunately a KIMDocument doesn't expose all the functions of the >underlying GATE Document
The KIM crew can answer this, but what happens when you try to take a KIMDocument and simply cast it as a gate.Document? A cast like that likely isn't a good idea, but it might serve our purposes for now. If not, it would it be possible to request that KIM expose the other toXml() methods? Despite the similar names the no parameter gate.Document.toXml() method is completely different than the other two toXml() methods. The no parameter version returns the "GATE XML", which looks nothing like the original input; it is simply a XML serialization of the GATE resources. The parameterized versions of the toXml() method return the (mostly) original XML. Cheer, Keith -------------------------------------------------- Research Associate American National Corpus [EMAIL PROTECTED] http://americannationalcorpus.org _______________________________________________ NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list. KIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com
