Does anyone know of any decent XML (un)serialization libraries out there that work like SimpleXML but... aren't SimpleXML? I'm having a hard time tracking down anything remotely decent, and I really don't want to have to write my own.
Things I'm looking for:
Anyone know of anything good? It seems like it would be the easiest thing in the world to do but nobody seems to want to write it
Things I'm looking for:
- PHP 5 and 4 compatability. Definitely not either-or. This casts out Keith Devens' library, which is a shame because otherwise it's quite nice.
- Object unserialization if possible, a la SimpleXML - if only because $foo->bar->lol is easier to both read and write than $foo['bar']['lol'].
- Portability - if possible, just a single include - this throws out PEAR XML_(Un)serialize, since they require loads of PEAR stuff to be installed which I can't rely on.
Anyone know of anything good? It seems like it would be the easiest thing in the world to do but nobody seems to want to write it
