Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Unflatten From XML Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: LabVIEW Schema VIs and Functions

Requires: Base Development System

Converts an XML string to a LabVIEW data type according to the LabVIEW XML schema.

If xml string contains the characters &lt;, &gt;, or &amp;, the function converts those characters to <, >, or &, respectively. Use the Unescape XML VI to convert other characters, such as &quot;.

xml string is the XML string that includes the data you want to convert. xml string must conform to the LabVIEW XML schema, including the case and order of tags in the schema. If xml string does not conform to the schema, the function returns an error and value contains the default value for the data type wired to type. If the VI containing the function previously completed execution, value contains the value from the previous execution.

In xml string, this function accepts only the period (.) as a decimal separator. The function does not recognize localized decimal separators. This restriction prevents errors when you use XML strings on operating systems with different settings for the decimal separator.
type is the data type to which you want to convert xml string.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
value is the data type you specified in type and the data in xml string.
error out contains error information. This output provides standard error out functionality.

 

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