Does anybody know where I can get the XML Schema for Tableau Workbooks, Data Extracts and Data Sources?
I know I could reverse engineer using existing report files but I will not get all the possible values for the different complex data types. I am also aware that Tableau Software does not encourage to edit the files directly, but it's just an experiment I am trying to do.
You can use python to parse the xml...
i have coded it to retrieve all your information example code
you can iterate through required elements.... for example loop through required element
import xml.etree.ElementTree as ET
tree = ET.parse(filename)
XML_datasources = tree.findall('datasources')
XML_val = XML_datasources[0].iter('datasource')
for item in XML_val:
name = item.get('name')
There will be multiple nested items good luck parsing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With