Thanks a lot Hussein, the XInclude declaration was missing and yet it works ! I am testing a TEI configuration written by a colleague and it works better and better. Have a nice day, Maud
On Thu, Aug 19, 2010 at 9:12 AM, Hussein Shafie <[email protected]> wrote: > Maud Ingarao wrote: > > > > I need to index latine texts with latine terms grouped in external > > thesaurus files, and the reference mechanism in XXE (as described here > > http://www.xmlmind.com/xmleditor/_distrib/doc/user/being_productive.html) > looks > > great for that purpose. > > > > I have been trying for a couple of hours, read the guidelines and > > searched the mailing list archive, but can't find the solution to the > > fact that the include menu (Edit > Reference > ...) remains desperately > > inactive both in the referencing doc ("copy as Reference" remains > > inactive) and in the target doc ("include Reference..."), > > More precisely: > > * Please use "Copy As Reference" (Shift+Cmd-C) in the referenced doc > (the thesaurus), then use "Paste Before" (Cmd-U), "Paste" (Cmd-V), > "Paste After" (Cmd-W) in the referencing doc (Evanthius_2.xml). > > OR > > * Register the referenced doc (the thesaurus) with the Include tool, > then use the Include tool from within the referencing doc > (Evanthius_2.xml). Note that you don't need to invoke "Copy As > Reference" if you use the Include tool. (The Include tool performs "Copy > As Reference/Paste" in one single step.) > > > > > as well of > > course as the corresponding buttons in the GUI. > > > > I send you screenshots of both situations. > > > > In the thesaurus doc, terms are coded in a <index><term/><term/></index> > > list with an @id attribute for each term, which is valid according to > > the TEI schema I am using, and in the target text doc (TEI as well), > > the <term/> element is allowed in the places where I want to include a > > referenced <term/> from the thesaurus (see the third screenshot in edit > > mode with <term/> being suggested at the same place as before) > > You seem to have understood how it works. I don't see anything wrong in > the above description. > > > > > > > So I really don't know what I have missed and what should try to do > now... > > (I have of course enabled the include feature and restarted the > > application... And when I play with the VAT rates of the tutorial files, > > it works perfectly) > > > > I suspect that the problem comes from the way XMLmind XML Editor has > been configured to support TEI. > > For example, if the TEI configuration does not contain this declaration: > > --- > <inclusionScheme name="XInclude"> > <class>com.xmlmind.xml.xinclude.XIncludeScheme</class> > </inclusionScheme> > --- > > then "Copy As Reference/Paste" or the Include tool simply cannot work. > > More info.: > > * XMLmind XML Editor - Configuration and Deployment > http://www.xmlmind.com/xmleditor/_distrib/doc/configure/index.html > > * II. Reference, 7. Configuration elements, inclusionScheme > > http://www.xmlmind.com/xmleditor/_distrib/doc/configure/inclusionScheme.html > > We do not provide a TEI configuration for XMLmind XML Editor. Please > understand that it's very difficult for us to provide some support for a > configuration we, XMLmind, didn't wrote. I suggest to contact the person > who wrote this configuration. > > > > > -- Maud Ingarao Institut d’histoire de la pensée classique, de l’Humanisme aux Lumières - UMR 5037 Ecole Normale Supérieure de Lyon Site Descartes - Bureau R322 15 Parvis René Descartes BP7000 69342 Lyon CEDEX 07 +33 4 37 37 65 79 [email protected]
-- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

