LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XML tutorial or Help

Does anyone have a good tutorial for Labview XML schema.  I have created an INI file in LV XML format through flattne to XML string and save to XML file, but every time you write to an XML file it overwrites evertyhing in the file.  I wanted to extract the string and search for data to replace, replace it and store it again, but this seems to be introducing new formatting parameters, that throw everything off.

 

Any help appreciated.

 

p.s. I do know how to use basic LV XML vi's, so if something has some indepth knowlege of overwriting specific nodes in the XML, while keeping the format and syntax of everything else the same is what I am looking for.  Also ways of sorting the data within XML file, without letting LV choose where in the file it wants to store the data?

 

Thanks

0 Kudos
Message 1 of 2
(2,653 Views)

rather than editting the XML directly (which can be done but is twitchy as you've found out) you're probably better off unflattening back to you original INI file text, editing that, and then re-flatten to the XML file.  

0 Kudos
Message 2 of 2
(2,596 Views)