You should also check out the variant configuration VIs in the OpenG site.
Definitely would have been my first suggestion.
My second suggestion: You can wire the cluster directly to the "Flatten to XML" function in the string palette and then feed the output of that to a Write Text File function.