You are reading a single comment by @chez_jay and its replies. Click here to read the full conversation.
  • So I was just using the screenshot you posted last page to start indexing into the data, using the indents in the file to determine the 'level' of indexing needed. The next level looks like it'll be 'VehicleMonitoringDelivery', within which there are at least 2 'VehicleActivity'.
    This is where things get a bit more involved... a key in a dictionary has to be unique, so the xmltodict library is going to have to do some jiggery pokery to make it work (put the VehicleActivity elements in an array: https://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html (I think!))

    Thanks for posting about this btw, it's inspired me to get my dev environment set up on my pc and get noodling again.

  • the xmltodict library is going to have to do some jiggery pokery to make it work

    I bet £5 there will be a package to do this for you...

About

Avatar for chez_jay @chez_jay started