XML DOM baseURI 属性

定义和用法
baseURI 属性返回节点的绝对基准 URI。
语法
nodeObject.baseURI
下面的代码片段使用 books_ns.xml" 载入 xmlDoc 中,并返回 <title> 元素的基准 URI:
实例代码
xmlDoc=loadXMLDoc("books_ns.xml");
x=xmlDoc.getElementsByTagName('title');
for(i=0;i<x.length;i++)
{
document.write(x.item(i).baseURI);
document.write("");
}
