LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

parsing xml file

Can I have excess to the 'get attribure' method in LabView 6.1. I understand the 'get attribute' method eases the task of parsing thru an XML file.
0 Kudos
Message 1 of 4
(3,434 Views)
What "get attribute" method are you referring to? LabVIEW 7.0 includes a new VI, Read From XML File, which may be like what you are looking for.
J.R. Allen
0 Kudos
Message 2 of 4
(3,434 Views)
LabVIEW's XML VIs only allow flattening and unflatting LabVIEW data to an XML string of the LabVIEW Data Schema type. There is not much support beyond that. I suggest that you use a real XML parser for doing what you are after. If you are using Windows, then you can use the Microsoft XML Parser which has an ActiveX interface which may be accessed from LabVIEW. Take a look at the LabXML Project on SourceForge.net. It includes some examples, which might be useful to you.

Best of luck,

-Jim
Message 3 of 4
(3,434 Views)
I am using the MS parser 3.0. However, if I want to get the attributes of a node, I basically have to treat them as child nodes. I would like to know if there is a get_attributes method (such as the one invokable from VB) associated with LV 6.1.
0 Kudos
Message 4 of 4
(3,434 Views)