Hi Ilian, At 03:53 AM 9/7/2006, Ilian Kitchukov wrote: >Hi Jay, Keith, > >I really hope it is not too urgent.
We can probably find a work around until you get a chance to look at it. >But the toXML() method exports the internal GATE doc which means >this annotation set is empty in the GATE doc itself. So I suppose >Jay's guess about the way a document is created is the important thing. Yes, if the GATE document's "preserveOriginalContent" feature is set to false (the default) then the original markup won't be included and toXml(annotationSet) will simply return the text content. If preserveOriginalContent is set to true then the original markup will be preserved and toXml(annotationSet) will return the original XML document. Cheers, 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
