I want to convert a pivot table with 5 parent-child levels to an XML file. Also each child level can have a different number of children. Similar to what they do here:

http://publib.boulder.ibm.com/infoce...20%22xml%22%20

My question:
Can someone help me with the VBA code to transform a 5 level deep pivot tree to an XML file?