NetworkedPlanet | TMCore Engine API Guide |
This example program requires a single command line argument that specifies the path to the XTM file that defines the data to be queried. The example file kings_and_queens.xtm contained in the source directory provides the data you need.
The output generated by the application using the topic map data provided should look like this (the topic identifiers will, of course, be different when you run the application, but the names should be the same):
Removing existing topic map... Importing XTM file kings_and_queens.xtm. Please wait... XTM import was successful! Children of William I: 2612 - Adela 2566 - Robert Curthose, Duke Of Normandy 2598 - William II 2596 - Henry I William I: 2612 - Adela 2606 - Stephen 2596 - Henry I 2592 - Matilda, Daugher Of Henry I 2580 - Henry II 2582 - John 2676 - 2602 - Richard I 2600 - William, Son of Henry I 2566 - Robert Curthose, Duke Of Normandy 2598 - William II