Trying to download an xml feed from Amazon to then store and use content to populate site. Can't find a way to save the file. It loads ok but then nothing I've tried allows me to save the file as an xml file, even to a local drive (ie no issues relating to read-only access to server etc) - it's just not appearing using the doc.Save command.
The following is at the top of the include file called:
<%@ Page Inherits="abcs_namespace.bundles_process" Src="bundles_cb.vb" %>
<%@ Assembly Src="includes/MM_XSLTransform/MM_XSLTransform.vb" %>
<%@ Import Namespace="System.Xml" %>
<%@ Import Namespace="abcs_namespace" %>
this is the code which using to try to save:
Dim doc9 As XmlDocument = New XmlDocument()
doc9.Load(RESTstring9)
'doc9.Load(" http co uk/ includes / abc - header.xml " )
doc9.save(" http co uk/ includes / abc - header2.xml " )
the third line above is one which we've tried to use to make this work using an existing file but the doc9.save command didn't save it as a different name
Any suggestions as to how we might get this to work?
Thanks to anyone who might help
The following is at the top of the include file called:
<%@ Page Inherits="abcs_namespace.bundles_process" Src="bundles_cb.vb" %>
<%@ Assembly Src="includes/MM_XSLTransform/MM_XSLTransform.vb" %>
<%@ Import Namespace="System.Xml" %>
<%@ Import Namespace="abcs_namespace" %>
this is the code which using to try to save:
Dim doc9 As XmlDocument = New XmlDocument()
doc9.Load(RESTstring9)
'doc9.Load(" http co uk/ includes / abc - header.xml " )
doc9.save(" http co uk/ includes / abc - header2.xml " )
the third line above is one which we've tried to use to make this work using an existing file but the doc9.save command didn't save it as a different name
Any suggestions as to how we might get this to work?
Thanks to anyone who might help