Jump to content

MSXML "Pretty" Print


Recommended Posts

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

Link to comment
  • 9 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.