Debugging with a jupyter notebook

This commit is contained in:
Jamie Hardt
2018-12-31 16:33:24 -08:00
parent 84f5d0391b
commit 0e21053d4e
4 changed files with 197 additions and 20 deletions

View File

@@ -9,10 +9,7 @@ class WavIXMLFormat:
self.parsed = ET.fromstring(xml)
def _get_text_value(self, xpath):
print("xpath",xpath)
print("search", "./" + xpath)
e = self.parsed.find("./" + xpath)
print("result was", e)
if e is not None:
return e.text