读取XML节点属性 紧急求助
XML是
<item>
<guid>9C6FC328B6F86D88D17DA247499FB799</guid>
<title><p>测试一下</p></title>
<link>XXX</link>
<media:category>测试</media:category>
<media:thumbnail height="120" url="XXX" width="160"/>
<pubDate>Tue, 07 Jan 2014 04:00:48 GMT</pubDate>
<ct:duration>105</ct:duration>
<media:content duration="105" medium="video" type="video/mp4" url="XXX"/>
</item>
现在是这么写的,要读取要读取media:thumbnail 里 url的值
<%
var objXml=getObjXml(data);
var root=objXml.documentElement;
var items=root.childNodes;
var totalNum=items.length;
var pageNum;
pageNum=Math.ceil(totalNum/numPerPage);
var page=Request.QueryString("page");
page=page>=pageNum?pageNum:page;
page=(page<=pageNum && page>=1)?parseInt(page):1;
var strNav="";
strNav+="<a href=\"?page=1\">首页</a> ";
if(page<=1){
strNav+="上一页 ";
}
else{
strNav+="<a href=\"?page=" + parseInt(page-1) + "\">上一页</a> ";
}
if(parseInt(page)==pageNum){
strNav+="下一页 ";
}
else{
strNav+="<a href=\"?page=" + parseInt(page+1) + "\">下一页</a> ";
}
strNav+="<a href=\"?page=" + pageNum + "\">末页</a>";
%>
<%
//field of xmlbook
var guid,title,link,category,thumbnail,pubDate,duration;
for(var j=0;j<numPerPage;j++)
{
i=totalNum-(page-1)*numPerPage - j - 1;
if(i<0){
break;
}
guid=items.item(i).childNodes(0).text;
title=items.item(i).childNodes(1).text;
link=items.item(i).childNodes(2).text;
category=items.item(i).childNodes(3).text;
thumbnail=items.item(i).childNodes(4).text;
pubDate=items.item(i).childNodes(5).text;
duration=items.item(i).childNodes(6).text;
adddate=comparisonDate(pubDate);
pubDate=formatDate(pubDate);
if(adddate!=1){pubDate="<font color=red>"+pubDate+"</font>"}
if(duration>300){title="<font color=#DC143C><b>"+title+"</b></font>"}
if(duration>180){title="<font color=#B8860B><b>"+title+"</b></font>"}
%>
<tr align="center">
<td class="t"><%=i+1%></td>
<td class="t" align=left style="overflow:hidden;white-space:nowrap;"><%Response.Write("<a target=\"_blank\" title=\"" + title + "\" href=\"" + link + "\">" + title + "</a>");%></td>
<td class="t">
<%Response.Write("<img src=\"" + thumbnail里URL的值 + "\" title=\"" + title + "\" width=\"110\" height=\"83\"/>");%></td>
<td class="t"><%=category%></td>
<td class="t"><%=duration%></td>
<td class="t"><%=pubDate%></td>
</tr>
<%}
%>
现在卡在thumbnail里URL的值
求助高手怎么修改