Hai
I have created a macro in Microsoft Excel for creating 'XML' for 'Selection Inspector' tool in Autodesk Navisworks. You can grab and fill up the required parameters to the excel and then the parameters will come out in XML schema.
You just have to copy/paste it into a 'XML' editor. The reference for the macro also attached below.
Hope it helps!