On Sat, Mar 1, 2008 at 6:47 PM, Leonardo Santagada <[EMAIL PROTECTED]> wrote: > On 01/03/2008, at 18:35, Yonik Seeley wrote: > > You could also scan for such chars on the client side before the XML > > is produced. > > Can't he put this code on the server before the xml parsing somehow? I > would do like you said and do it on the client, but just out of > curiosity is this really impossible?
We'd have to implement our own xml parser (or a subset of one) for that. A simple search+replace of &#xx; could do the wrong thing I think (might be an actual literal in a CDATA block for example). The easiest place to fix it is before the field values are serialized into XML. -Yonik