Is it possible in PHP or would I need to write something to do it?
I have. Is that actually doing XML data binding? I didn't think it was and Googling "PHP XML data binding" brings up a disappointing number of results, and they don't appear related either as far as I can tell. I'm guessing that it's not supported in PHP 5 at least