6.6.2. Loading XML

After this XML file has been generated, the easy way to rebuild your scene is to import the information provided by the XML file using the loadFromXML(“fileName”) method. Your code can be as short as the following:

Example 6.5. A simple example using an XML description file