Re: Rev Create XML Tree

2010-07-29 Thread Ben Rubinstein
On 28/07/2010 18:49, J. Landman Gay wrote: On 7/28/10 11:33 AM, Mark Wieder wrote: ...and for my two cents' worth, it's hard to think of using the terms "xml" and "performance" in the same thought... Yeah. And it's hard to work with in all kinds of ways. I can't figure out why it's become th

Re: Rev Create XML Tree

2010-07-28 Thread Ray Horsley
André, Jacque, Mark, Thanks for these ideas. Actually, I was hoping for an overall solution for this as oposed to various ideas as to how to approach various single characters which cause problems. Does anybody have any experience with the Blowfish solution? This might be the overall s

Re: Rev Create XML Tree

2010-07-28 Thread J. Landman Gay
On 7/28/10 11:33 AM, Mark Wieder wrote: ...and for my two cents' worth, it's hard to think of using the terms "xml" and "performance" in the same thought... Yeah. And it's hard to work with in all kinds of ways. I can't figure out why it's become the de facto standard for so many things. Sur

Re: Rev Create XML Tree

2010-07-28 Thread Andre Garzia
Another trick is to replace the ":" in the namespaces with "-" so that you somehow preserve the namespace, you need to know which namespaces you will be dealing with for example, if dealing with an ATOM feed you know that there will be atom:tag inside your xml, you can do a simple replace "ato

Re: Rev Create XML Tree

2010-07-28 Thread Mark Wieder
Ray- I've taken to urlencoding my xml data if it contains any chars that are not straightforward printable ASCII - I had some problems a while back with base64encoding long data strings like imagedata. Don't know why, but the data was getting truncated, while urlencoding always seems to work. So n

Re: Rev Create XML Tree

2010-07-28 Thread Andre Garzia
Ray, I don't think emdashes are allowed inside XML. You emdash is in a node content or a tag? If it is in a node content and you encoded it like &emdash; then it will not work because the only escaping that xml knows by default is & so if you encode your emdash like &emdash; and you do a double de

Rev Create XML Tree

2010-07-28 Thread Ray Horsley
Greetings, I'm getting errors when passing XML to this handler, usually because there's something odd characters like an em dash in it. Anybody have any experience with this library? I'm believe it's going to be a matter of properly encoding/decoding the data, although I've tried the ba