Added 'parent' attribute to generated XML, so data source can be used to build structured navigation.

Here you go!