M
Martin Beering
hi to all,
I do have a really big problem. I am writing a xml-file
with the following vb.net.code
Dim xmlfile As String = "C:\Inetpub\wwwroot\Kostenrechnung\myXML.xml"
......
DS.WriteXml(xmlfile)
The I am trying to open the file with the following JavaScript-Code because
I would like to use the data with svg.
loadXML("C:\\Inetpub\\wwwroot\\Kostenrechnung\\myXML.xml");
function loadXML(xmlFile)
{
xmlFile=""+xmlFile;
xmlPresented=false;
xmlDoc.async="false";
xmlDoc.onreadystatechange=verify;
xmlDoc.load(xmlFile);
xmlObj=xmlDoc.documentElement;
bAnzahl=xmlObj.childNodes.length; // Anzahl der Jahre / Balken
}
Unfortunally I am always getting the error-message: Error: access denied.
If I use the following code for opening the xml-file everything works fine
loadXML("myXML.xml");
Has anybody an idea what the prolbem is ?
I am thankful for any tip.
many thanks and greetings from bremen (germany)
Martin Beering
I do have a really big problem. I am writing a xml-file
with the following vb.net.code
Dim xmlfile As String = "C:\Inetpub\wwwroot\Kostenrechnung\myXML.xml"
......
DS.WriteXml(xmlfile)
The I am trying to open the file with the following JavaScript-Code because
I would like to use the data with svg.
loadXML("C:\\Inetpub\\wwwroot\\Kostenrechnung\\myXML.xml");
function loadXML(xmlFile)
{
xmlFile=""+xmlFile;
xmlPresented=false;
xmlDoc.async="false";
xmlDoc.onreadystatechange=verify;
xmlDoc.load(xmlFile);
xmlObj=xmlDoc.documentElement;
bAnzahl=xmlObj.childNodes.length; // Anzahl der Jahre / Balken
}
Unfortunally I am always getting the error-message: Error: access denied.
If I use the following code for opening the xml-file everything works fine
loadXML("myXML.xml");
Has anybody an idea what the prolbem is ?
I am thankful for any tip.
many thanks and greetings from bremen (germany)
Martin Beering