Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with xlm feed save commands

Status
Not open for further replies.

Henckle10

Programmer
Apr 20, 2011
1
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top