No, that's the problem, in other words I cannot use the unflatten function.
Clusters may contains one or more arrays of different sizes, scalars of different types...
Elements of the cluster are supposed to be its children, aren't they? Is it possible to access each of them from the children list of the cluster, see which is their type and implement different data extractor for 1D array, 2D array and scalars? Then write these data in a csv file should be the easier part.
I think it's gonna be a mess, but there should be some way,no?
I'm forwarding my vi draft with many comments and a couple of xml file samples.
Thank you very much
data structure.doc
XMLData_example1.xml
XMLData_example2.xml
read_array.vi