04-14-2015 07:43 AM
Hi all,
I am trying to read an xml file and display the output. i get a blank display. Can anybody please help me out.
Thanks in advance
I cant attach the xml file. Since its not a valid extension. Please find the xml code below.
<Company>
<Name>Samsung</Name>
<Location>
<City>Busan</City>
<Country>South Korea</Country>
</Location>
</Company>
Solved! Go to Solution.
04-14-2015 08:23 AM
Well, I don't see what are you trying to achieve. Do you want to parse xml and get cluster or just read file and get pure string?
In second case, you can just read .xml like regular txt file. However, in first case there are few possibilities to get cluster.
04-14-2015 09:31 AM
Well, thanks for your reply, i want to parse xml and get a cluster output. Can you please suggest me how to go about it.
04-14-2015 10:11 AM
04-14-2015 10:14 AM
If you can change saved .xml file, you can modify it to be compatible with Labview XML shema and use Unflatten from XML like in your VI. If you cannot, you should use XML Parser library. In attachement you can find 2 exmaples for these situations.