<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On 03 Aug 2007, at 4:58 PM, Larry Garfield wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">That said, a syntax that somewhat parallels SimpleXML and leverages<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">ArrayObject, iterators, and the rest of SPL, but just doesn't translate<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">directly to XML the way SimpleXML does, could make FAPI a lot cleaner and<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">more intuitive.</FONT></P> </BLOCKQUOTE></DIV><BR><DIV>Well. I found the issue I have with simplexml, namely that you can't serialize the object.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Basically what it comes down to is we need to implement the __sleep() and __wakeup()</DIV><DIV>functions to properly handle serializing anything.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>There's also a couple of other gotcha's, but I'm confident they can be worked around.</DIV></BODY></HTML>