On 11/05/2015 02:17 PM, Madlik, Monika (LNG-VIE) wrote:
Hi,
I want to allocate keywords to XML-Files via XML-Mind. It should be like
this:
-the author writes an article and wants to allocate keywords to this file
-he clicks a button or has an input-field at the toolbar (it depends on
what is possible and what is easier to handle)
It's also possible to add buttons directly in the styled view, nearby
the XML elements were keywords are to be added. See
http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/command-button.html
-he gets an input-field where he can type his keyword. when he types his
keyword, he wants to get suggestions of already existing keywords (which
should come from another XML-File or Excel-File) – so if you type “arb”
he wants to get suggestions of existing words that starts with “arb”
i.e. “arbeitsrecht” or “arbeit”.
-this should be possible for main-keywords and appropriate sub-keywords
-in the end he wants to put the selected keyword (main and sub) into the
XML-File
-if the keyword does not exist he wants to insert the new keyword to the
list (XML or Excel?)
Is this possible, or do you have any other suggestions for this problem?
Yes, this is possible, but this requires writing a custom command in Java.
If the list of possible keywords were a fixed list, a macro
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/writing_macros.html
invoking command pick would have done the trick:
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/pick.html
The fact that the list can be augmented by the end-user makes a custom
command written in Java mandatory.
I have to say, that we work with a very old version of XML-Mind (it’s
version 3.6.0).
Version 3.6 has been released more than 8 years ago, on April 23, 2007.
Current version is 6.5, released on October 26, 2015.
What I suggest is guaranteed to work only in versions of XMLmind XML
Editor much more recent than v3.6 (say v5 and v6). Also note that,
officially, only version 6 is supported.
Best regards,
Monika
. . . . . . . . . . . . . . . . . . . . . . . . . .
Ing. MonikaMadlik
Developer
LexisNexis
A-1030 Wien, Marxergasse 25
monika.mad...@lexisnexis.at <mailto:monika.mad...@lexisnexis.at>
Tel.: +43 1 53452
. . . . . . . . . . . . . . . . . . . . . . . . . .
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support