Captivate 2019 version 126.96.36.1999: I want to use the Glossary widget for my project, but will be creating many additional projects that will use the same glossary. The widget allows for you to upload and XML file, but the only help I can find on how to start the widget XML writing process is from the captivate versions 8 and 9. I have been able to understand what to write in the XML file, but have yet to figure out how to start it in terms of the Root and the Child being that the Glossary widget hides all the words under the corresponding letter to make the glossary organized and searchable. I am using XML notepad to write my XML file. Any assistance on how to start the root/child relationship would be greatly appreciated. This will allow one glossary file to be created and uploaded into several trainings vice having to populate numerous glossary widgets.
The XML is actually very simple. If you go into the glossary interaction's properties and click the Show Example button it shows you the structure of a typical valid XML file.
When I have a new project to work on where there will be multiple modules that all need to have the same Glossary terms and definitions I set up an Excel spreadsheet that has several columns. The second column contains the Terms, the fourth column contains the Definitions and the first, third and fifth columns just contain the XML tags that need to be present to make the valid XML file.
The first line of the spreadsheet just has the opening <XMLBit> tag and nothing else on other columns. The linne AFTER the last term and definition contains the closing </XMLBit> tag.
Here's what the Excel file structure looks like:
So you just enter in all your terms and definitions to their relevant columns, then enter the XML tags for the second line. Use Excel's features to drag/copy all of the tags down through all of the rows in their columns.
Then the final steps to create the XML file from this is to just save your Excel spreadsheet out as a Unicode TXT file. You change the TXT file ending to XML and that's your file to upload into the Glossary Widget interaction.
Debugging your XML file sometimes turns out to be the longest part of this process. However, once you have a nice clean XML uploading it into each of your Captivate modules takes only seconds.