HI there,
I'm also working on a RETS solution and wondering how you made out with this. I'm using xml_parse(); (php4) and while the parse doesn't 'crash' it does see the & characters and 'break' the string. Example:
array ListData: Array
(
[0] => xlistingdata Object
(
[ListDate] => 2005-05-05
[ListPrice] => 1200000.00
[ExpirationDate] =>
[Commission] =>
[PublicRemarks] => Home to the Henry
)
[1] => stdClass Object
(
[PublicRemarks] => '
)
[2] => stdClass Object
(
[PublicRemarks] => s Fork of the Snake River, Island Park Reservoir
)</pre> <snip>
from the data string:
Home to the Henry's Fork of the Snake River, Island Park Reservoir... <snip> creating new elements in my array. My client is disenclined to upgrade to php5, so I can't test if simplexml_load_string($string) would solve the problem.
I've heard of including the source for the function to make it available in php4 but have never trid this....
Any thoughts?