IXMLReader - Parentage?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

IXMLReader - Parentage?

Post by saigumi »

I'm converting my GUIHandler to use the internal XML reader. Is there any way to figure out parentage?

Say, from the example:

Code: Select all

        <?xml version="1.0"?>
        <config>
                <!-- This is a config file for the mesh viewer -->
                <startUpModel file="../data/dwarf.x" />
                <messageText caption="Irrlicht Engine Mesh Viewer">
                Welcome to the Mesh Viewer of the "Irrlicht Engine".
                </messageText>
        </config>

Is there a way that <startUpModule> would know that it is a child of <config>? Does the </config> element get parsed?
Crud, how do I do this again?
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Post Reply