|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: LabVIEW Schema VIs and Functions
Requires: Base Development System
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.
|anything is any LabVIEW data you want to convert. This parameter is polymorphic.|
|xml string is the resulting XML string that represents the LabVIEW data type. When converting decimal values, this function uses only the period (.) as a decimal separator. The function does not use localized decimal separators.|
Refer to the Flatten and Unflatten XML.lvproj in the labview\examples\File IO\XML\Flatten and Unflatten XML directory for an example of using the Flatten To XML function.