LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why would I use XML?


@Mark_Yedinak wrote:

@paul_cardinale wrote:

I put config info in classes, then save the class to XML to get the benefit of automutation.


Doesn't saving the class as XML add a bunch of other stuff to the XML? I try to avoid putting too much extra stuff in config files that the user may muck with and end up breaking something. And if it has LabVIEW class stuff included, this makes the XML file much more LabVIEW specific and not as generic.

 

Either way, I still prefer JSON over XML.


Yes, there is extra class stuff.  But I consider automutation a huge advantage.

I don't edit the XML files with a text editor, I always build a nice editor into the class (it's not hard).

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 11 of 11
(395 Views)