This could totally be me, I am really new to python and xmltodict. I am trying to parse a beerxml file. I am able to get to ['RECIPES']['RECIPE']['NAME'], but any deeper in the tree and I can't figure out how to access those elements, i.e. ['RECIPES']['RECIPE']['HOPS']['HOP']['NAME'] to get to the different hop types in the recipe. Here is a snippet and link to some additional XML files I'm using. And, I'm sorry if this has been answered before, I couldn't seem to find a solution anywhere.
This could totally be me, I am really new to python and xmltodict. I am trying to parse a beerxml file. I am able to get to ['RECIPES']['RECIPE']['NAME'], but any deeper in the tree and I can't figure out how to access those elements, i.e. ['RECIPES']['RECIPE']['HOPS']['HOP']['NAME'] to get to the different hop types in the recipe. Here is a snippet and link to some additional XML files I'm using. And, I'm sorry if this has been answered before, I couldn't seem to find a solution anywhere.
http://www.beerxml.com/recipes.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
Thank you.
Bill