As I've mentioned before, using XML data in LabVIEW is way too hard. And, according to this poll, 7 out of 10 LabVIEW developers think so, too. LabVIEW's built-in XML schema and support functions are not at all useful for generating and parsing XML schemas defined by others. And, the various tools available to LabVIEW developers for generating and parsing XML schemas defined by others are not easy to use.
For example, there's really no simple and maintainable
way to write the code necessary to generate and parse the following XML:
The existing tools require understanding way too much about
the XML language (e.g.,
and get in the way of the average developer doing useful work with XML
data. For examples, this is the code required to read only a
single attribute of an XML entity:
When I think easy,
I imagine a
tool that will allow the developer to:
1.) define a simple
data structure that is analogous to an XML data structure
2.) use it
to generate and parse the XML data.
For example, generating and parsing XML data in LabVIEW should be as
easy as creating a cluster:
The good news is that JKI
Software has just released such a tool that lets you work
with XML by simply
creating a cluster in
LabVIEW. For example, you can create an
XML playlist with just one VI and a cluster, as show in the screenshot,
And, parsing XML is just as easy, as you can see in this example that
downloads the LAVA RSS feed and parses the data into a cluster.
This new tool is called the EasyXML
LabVIEW and is a low-cost ($39 introductory price) toolkit
that can be installed using VI Package Manager.
And, you can even download the demo for free, using
VIPM. Now, that's