Burning DVD from hand-crafted XML file

I wish to assemble a large slideshow on a DVD, but I wish to add extra metadata from the image files to annotate the show.

I know that Nero supports an XML format, and I believe I can construct an appropriate XML file (the XML schema is well documented), but how do I burn a DVD from my XML file?

I’ve tried using the NeroVision API Example program to “Load and Burn”, but it does not seem to work under Nero 8.