Importing multiple records from a single XML file
Purpose
To import multiple records from a single XML file into a knowledge model.
Theory
In this exercise, you will connect an XML data source to a knowledge model in order to import multiple records; this XML data source could look like the following example:
<Shapes> <Shape> ... </Shape> <Shape> ... </Shape> ... </Shapes>
This exercise demonstrates that data from an XML structure can be separated and processed in different ways.
Actions
To import multiple records from a single XML file into a knowledge model:
- Click the New Model
button, to display a blank knowledge model screen. - Right click on a blank space on the screen and select File > XML File from the context menu.
- Type Source in the Create XML File box and click OK.
A new node called Source is created.

- Right click on the Source node and select Properties from the context menu.
- Click the Minimise Down
button in the top left corner of the knowledge model, to minimise it. - Find the com.erudine.inbox.filePath property.
- Click once in the right hand column of the com.erudine.inbox.filePath property.
The row for that property now displays an ellipsis (...) to the right of the column. - Click on the ellipsis ( ... ) to display the Select a file dialog box.
- Navigate to the Training\Introduction\XML3 folder in the Erudine root directory and click the Open button.
- Select the Shapes.xml file and click the Select button.
This file and location are now displayed alongside the com.erudine.inbox.filePath property. - In the Properties screen, click the Apply button to save the changes and return to the Knowledge Model screen.
- Double click on the Source node to display the Conclusion & Justification screen.
The contents of the XML file are displayed as a conceptual graph.

- Close the knowledge model without saving changes.
Platform: all
EBE Version: 2.4
Category: Introduction Guide
Author: Patrick Peisker