LabVIEW Schema VIs and Functions

Owning Palette: XML VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the LabVIEW Schema VIs and functions to manipulate LabVIEW data in XML format.

Example

Palette ObjectDescription
Escape XMLConverts special characters to XML syntax according to the LabVIEW XML schema.
Flatten To XMLConverts any data type you wire to anything and converts it to an XML string according to the LabVIEW XML schema.
Read From XML FileReads and parses tags from a LabVIEW XML file. When you place this VI on the block diagram, the polymorphic VI selector is visible. Use this selector to choose which polymorphic instance to use. All XML data must follow the standard LabVIEW XML schema.
Unescape XMLConverts the XML syntax for special characters back to the special characters according to the LabVIEW XML schema.
Unflatten From XMLConverts an XML string to a LabVIEW data type according to the LabVIEW XML schema.
Write to XML FileWrites a text string of XML data with accompanying header tags to a text file. Wire data to the XML Input input to determine the polymorphic instance to use or manually select the instance. All XML data must follow the standard LabVIEW XML schema.

Example

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 LabVIEW Schema VIs and Functions.

 Open example  Find related examples