KiCad BOM Wizard Plugin with customisable output (Can make HTML and CSV BOM)

Dear Sir,

I receive an error when I try to generate the following code : " xsltproc -o “C:\Users\balaj\OneDrive\Documents\GitHub\dc-rcd\RCD_Prim\RCD_Prim.csv” “%I”.

I just wish to save my BOM as an excel sheet with .csv extension.

Is this script correct or am I doing something wrong as I am getting : “Command Error code 4 or 5”.

Error Code 5 : " compilation error: file file:/C:/Users/balaj/OneDrive/Documents/GitHub/dc-rcd/RCD_Prim/RCD_Prim.xml line 2 element export
xsltParseStylesheetProcess : document is not a stylesheet"

Would be nice to hear from you regarding how this can be solved.

Thanking You,

Balaji Subramanian