Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Flatten To XML

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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 &lt;, &gt;, or &amp;, respectively. Use the Escape XML VI to convert other characters, such as ", to XML syntax.

Example

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.

Example

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.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit