Converts any data type you wire to anything and converts it to an XML string according to the LabVIEW XML schema.
If anything contains the characters <, >, or &, the function converts those characters to <, >, or &, respectively. Use the Escape XML VI to convert other characters, such as ", to XML syntax.

Refer to the Write Data to XML File VI in the labview\examples\file\XMLex.llb for an example of using the Flatten To XML function.