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

I don't know about all the landscape, but in Python, at least, with `lxml`, you can configure the parser to yield native Python objects. I.e. you parse a XML file and get your own objects as a result. Here "your own" part is limited to your class and methods (no data, except what is in the element itself), but it's already rather convenient. (I can't say `lxml` is simple and Pythonic though; it's rather cumbersome to boot.)


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

Search: