Hi!
In my application, I want to use XML files as configuration files.
I made a VI using XML DOM Parser fonctions to fill the text nodes with the desired information. In the case I want to overwrite previous information stored in a node , the data has to be written as text and is placed between the corresponding markers (for exemple in the attached file
<InputValue>data
<\InputValue>).
However if a node is empty (no text previoulsy written), the marker becomes
<InputValue/>. In that case, it is impossible to write data in it... Why is that ?
I think my code is more explicit... Launch Test.vi, you will notice that the nodes "
S_DateHeureFin" and "S_NomEquipementFin" are never written if they are empty (but they can be overwritten if a text is already present when the Vi is launched).
Note : I couldn't attach XML file so I changed the extension into jpg , so you have to change the extension .jpg to .xml of Try.jpg to read my xml file...