04-09-2012 12:31 AM - edited 04-09-2012 12:32 AM
Hi all,
I would like to generate an XML file as shown in below fig.
I can able to generate all the items except which is marked in red and attached vi for ref. (There is an invoke node called insert XML but I am not able to succeed with that). Please can anyone help to solve this issue.
Thanks in advance..
Solved! Go to Solution.
04-09-2012 04:01 AM - edited 04-09-2012 04:02 AM
You need to treat <Actual Status> as a attribute rather then element, so to create attribute example VI attached.
04-09-2012 06:17 AM
Hi punnet thanks for you reply.
I want exactly like this <Actual Status="Fail">0</Actual>. How can i do that?
04-09-2012 07:52 AM
As noted, "Status" is an attribute of the "Actual" node. Did you look at the VI that was posted?
04-09-2012 08:08 AM
05-28-2012 12:54 AM
Hi,
Please can anyone help me to combine both xml's together attached vi and solutioned vi. I want exactly same on the asked question format (Img).
I am not familliar on XML's.