stchris / untangle

Converts XML to Python objects
MIT License
613 stars 83 forks source link

Using untangle, how can I check the existence of attributes and tags in XML before parsing #27

Closed Nouri1111 closed 7 years ago

Nouri1111 commented 7 years ago

I'm parsing an XML file via untangle in python and and writing the content to a database. --> How can I check whether a tag exists or not before parsing? Currently my code throws an error for non existing title tag ...

stchris commented 7 years ago

Duplicated in #28