D
DamFoo
Hello,
I loved how simple it was to load a basic XML file using this code:
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1"
Debug="true" %>
<html>
<body>
<asp:Xml DocumentSource="../code/test.xml" runat="server" Visible="true" />
</body>
</html>
Problem is, it only works with files locally available. If I wanted to do
this:
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1"
Debug="true" %>
<html>
<body>
<asp:Xml DocumentSource="http://www.thirdopartyserver.com/code/test.xml"
runat="server" Visible="true" />
</body>
</html>
I get an error telling me I should be using a virtual path.
Does anyone have a piece of code which will do the same as above, only with
a third party server hosted XML file?
Regards,
Gary.
I loved how simple it was to load a basic XML file using this code:
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1"
Debug="true" %>
<html>
<body>
<asp:Xml DocumentSource="../code/test.xml" runat="server" Visible="true" />
</body>
</html>
Problem is, it only works with files locally available. If I wanted to do
this:
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1"
Debug="true" %>
<html>
<body>
<asp:Xml DocumentSource="http://www.thirdopartyserver.com/code/test.xml"
runat="server" Visible="true" />
</body>
</html>
I get an error telling me I should be using a virtual path.
Does anyone have a piece of code which will do the same as above, only with
a third party server hosted XML file?
Regards,
Gary.