Randy Posted July 19, 2006 Report Share Posted July 19, 2006 Hello everyone, Since I've gleemed quite a bit of useful code and information from this site, it is my pleasure to offer what I hope is a useful piece of code to the community. The MSXML toolkit offered through the OpenG site is a really nice implementation of the MSXML DOM Active X object but I've been bothered by the single line format that the "Save XML" vi generates. This single line format makes it near impossible to manually read/edit an XML file if it's been touched by this vi. The vi I've attached has a few lines of code added that will save the XML in a standard "pretty" format (tabbed tree structure). To use simply replace any instances where the previous "Save XML" vi was used with the new vi. Enjoy, Randy Download File:post-3040-1153346994.vi Quote Link to comment
andre@carya Posted April 11, 2016 Report Share Posted April 11, 2016 Just an addition in case people use the .Net XMLDocument class. XMLDocumentToStringPrettyPrint.vi Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.