I realise php is a server side language and Javascript is clientside
I have an issue
My php code uses
curl to get an xml response from a web api.
simplexml to parse the results

What I...