
August 23rd, 2001, 05:14 AM
|
|
Junior Member
|
|
Join Date: Nov 2000
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
using external files in xml data islands
Hi:
I'm using xml data islands and works fine if I use a xml file in my own server.
But if I try to use a file that reside in other server don't work.
Security Problem??
No error message is showed.
<!---------------the code ------------->
<XML ID='oMetaData' ondatasetcomplete="show()" src='http://www.xml101.com/examples/note.xml'></XML>-
<script language='javascript'>
function show(){
var oNode = oMetaData.XMLDocument.selectSingleNode("note/to");
alert(oNode.text);
}
</script>
<!---------------------------------------->
Thanks in advance.
|