Convert Policy and Schema XML files to CSV

I am in the process of re-writing my documentation scripts, which are somewhat different to the MS MIM Config Documenter, in that mine are designed to run on a workstation, and produce documents in Word format. Where they are much the same however, is long lists of configuration objects by object type, listing their attributes and settings, but with nothing to tie them together from a functionality perspective (more on that later).

The first step is parsing the XML. In my old version I did a lot of looping through the XML nodes, but this time I’m taking a different approach – by first converting the XML to CSV I have a lot of good info in a format that is much easier to work with.

I’ve just uploaded my script which converts the schema.xml and policy.xml files to CSV – you can find them here. You will need both

Leave a Reply

Your email address will not be published. Required fields are marked *