Lee Newson
2005-04-28 13:58:34 UTC
Hi,
I am writing an application where i get an xml file from a sharepoint
document library. to do this i am using the following code -
Dim HttpReq As New MSXML2.XMLHTTP50
HttpReq.open("GET",
"http://server/sites/sitename/shared%20documents/Visio%20Timeline/timeline%20profiles.xml",
False)
HttpReq.send()
this works great, however the application then makes changes to this xml
that needs to be saved back. i have looked at a number of documents on the
web to work out how to do this but i am still unsure... can anyone help with
this?
I have tried using the DOMDocument.Save() method but i keep getting an error
saying that the network location cannot be found even though i have just
opened it from the same location... in the save method i have tried using
the same as above and also "\\server\sites\sitename\shared documents\Visio
Timeline\timeline profiles.xml"... neither work.
thanks for any help in advance it is greatly appreciated.
regards
Lee
I am writing an application where i get an xml file from a sharepoint
document library. to do this i am using the following code -
Dim HttpReq As New MSXML2.XMLHTTP50
HttpReq.open("GET",
"http://server/sites/sitename/shared%20documents/Visio%20Timeline/timeline%20profiles.xml",
False)
HttpReq.send()
this works great, however the application then makes changes to this xml
that needs to be saved back. i have looked at a number of documents on the
web to work out how to do this but i am still unsure... can anyone help with
this?
I have tried using the DOMDocument.Save() method but i keep getting an error
saying that the network location cannot be found even though i have just
opened it from the same location... in the save method i have tried using
the same as above and also "\\server\sites\sitename\shared documents\Visio
Timeline\timeline profiles.xml"... neither work.
thanks for any help in advance it is greatly appreciated.
regards
Lee