XML parsing issue


Great little script!

Just wanted to let you know about a few issues with the output.

My output XML file contains quite a number of syntax errors that prevent it being parsed properly in the browser. Almost all were due to failure of closing a property.

e.g. <Property Name="UpgradedPersistedProperties"</Property>

Also, the XML is rendered as one long plain text string in IE 10, which is weird considering it seems to be a copy of the Group Policy Management Tool output.

It works fine in other browsers but of course the VB doesn't run, so no expand/collapse for nodes. ;)

I've stripped the whole thing right back: cleaned up the HTML, removed most styles and classes and replaced the VB with JavaScript. It's now a lot leaner and works across all tested browsers.

I've attached it for your consideration.

file attachments