News for hackers. Stuff that matters.
Re:Python module that makes working with XML feel like worki... by fr33k3y on Friday August 23, 2013 @09:10AM (#6263237)
There is XML::Simple perl module since a century ago and it's ruby "copy" with the same name since long time ago also.

I've used the perl one and it only makes sense in very simple use-cases.

Re:Python module that makes working with XML feel like worki... by nmcfarl on Friday August 23, 2013 @09:49AM (#6263555)
I’ve used the perl one as well. And while I’ll agree the XML handled needs to be simple, I’d say the the use case needn’t be.

At one job dealt with 10 and 20 Megabyte XML files on a daily basis - and I never thought of throwing XML::Simple at those. The results would be anything but Simple.

On the other hand I’ve run production code for years with an XML::Simple client to XML only RESTish API with ~100 endpoints. And that suckers still critical infrastructure - and barely being touched. Just humming along.

Re:Python module that makes working with XML feel like worki... by tootie on Friday August 23, 2013 @10:06AM (#6263658)
XML::Simple was glorious for working with 1-100K documents. I've used it on bigger docs and it actually handles them pretty gracefully although I've never tried at scale.