Ajax.RequestをNewしてXMLHttpRequestオブジェクトを生成し、responseXMLでXMLを取得。
こんな感じでXMLを解析して、HTMLの内容を切り替えます。
var desc = result.getElementsByTagName("description");
$("content").innerHTML = desc[0].firstChild.nodeValue;
Ajax.RequestをNewしてXMLHttpRequestオブジェクトを生成し、responseXMLでXMLを取得。
こんな感じでXMLを解析して、HTMLの内容を切り替えます。
var desc = result.getElementsByTagName("description");
$("content").innerHTML = desc[0].firstChild.nodeValue;