Hey guys quick question here at the end of a long day.
I have a string of unformatted xml (no whitespacing) and I want to make a VBScript function that accepts the string as its parameter and formats the XML with tabs and newlines
I have taken a good look around the net and came close with this http://ift.tt/1xGwaPd
This did not work because the 'MSXML2.DomDocument' object does not support writing to a string from what I can tell.
Ive tried to access various properties of the object (namely 'xml', 'text', and 'xml.text') all to no avail.
Simply put I need a string of messy xml in, and a string of formatted xml out
No comments:
Post a Comment