thx alot guys for the idea, i achieve this purpose with this code below :
***BEGIN****
function renderchart()
{
jQuery.get('refresh_chart.php', function(strdata, textStatus)
{
var splitdata = strdata.split("|");
var d2 = [];
jmax=splitdata.length;
for(var j=0; j < jmax; j++)
d2.push([j, splitdata[j]]);
$.plot($("#renderhere"),
[
{
data: d2,
lines: { show: true }, points: { show: true }
}
]);
setTimeout('renderchart();', 1000); // refresh chart every 1 second
}
);
}
<body onload="renderchart()">
<div id="renderhere" style="width:350px;height:300px;"></div>
</body>
***END****
though the source is not from XML file, but i got the idea :)
thx again,
-sigit i.-