How do I get the Electrical BOM to xml file format? Is there a way out.

Have created a Line Diagram, Now want to Get a report BOM as XML. What to do :/

SolidworksElectrical