Been trying to figure this out for a short while now but having now luck, for example I have an external xml document like this:
&
You want the built in class Simplexml