Using XPath Queries in LabWindows™/CVI™

Updated Jul 10, 2020

Reported In

Software

  • LabWindows/CVI

Issue Details

I want to parse an XML file in my LabWindows/CVI program. To parse easily the file, I would like to use XPath queries to find quickly the elements.
Does LabWindows/CVI support XPath?

Solution

There is no built-in XPath functions but LabWIndows/CVI has an XML API that includes parsing functions: XML API

Additional Information

XPath is a set of queries defined for XML in order to find quickly elements without reading all the file to find the desired information.