Jump to content

Flatten To XML function: Difference between revisions

From LabVIEW Wiki
Created page with "{{stub}} {{LabVIEW Palette Object Information|palette=Functions Palette/Programming/String/Flatten/Unflatten String{{!}}Flatten/Unflatten String palette|type=function|icon=Fla..."
 
Started page
 
Line 4: Line 4:
The '''Flatten To XML''' function converts any data type you wire to anything and converts it to an XML string according to the [[LabVIEW XML schema]].
The '''Flatten To XML''' function 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 <code>&lt;</code>, &gt;, or &amp;, respectively. Use the Escape XML VI to convert other characters, such as ", to XML syntax.
If anything contains the characters <, >, or &, the function converts those characters to <code>&amp;lt;</code>, <code>&amp;gt;</code>, or <code>&amp;amp;</code>, respectively. Use the [[Escape XML]] VI to convert other characters, such as ", to XML syntax.


{{TOCright}}
{{TOCright}}

Latest revision as of 13:09, 24 August 2020

Object information
Owning palette(s) Flatten/Unflatten String palette
Type Function
Requires Basic Development Environment
Icon

The Flatten To XML function 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.

Usage

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links