Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Which works if you either expect a dictionary with a predefined set of fields (which isn't really a dictionary then), or parse your xml in a way that handles arbitrary tags. For a generic dictionary the shown approach is still the way to go, if you really want to use XML for that.


XML parsers generally allow arbitrary tags.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: