0

I am working on ER diagram for a tabular model(SSAS), so converted my model to XMLA file, but my ER diagram tool is accepting only xml format files. So, I need info how to convert my xmla file to xml.

k5656
  • 85
  • 10

1 Answers1

0

XMLA files will be of the format JSON. You can easily convert XMLA files into XML files using python.

import json 
from json2xml import json2xml
with open('XMLA.xmla') as xmlafile: 
    data = json.load(xmlafile) 
print(json2xml.Json2xml(data).to_xml())