Jump to content

help on external xml


Lohmeyer

Recommended Posts

Do you mean external as on a different server?

Link to comment
Share on other sites

Due to security restrictions that JavaScript fragment (or any purely client-side method) cannot obtain external files. You could use a server-side language to bring the XML to your server before retrieving it with the JavaScript - e.g. using http://static.php.net/manual/en/function.f..._get_contents() in PHP.All parsing can be done client-side. That is what the DOM functions of JS are for.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...