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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS XML

Status
Not open for further replies.

Rhys666

Programmer
Joined
May 20, 2003
Messages
1,106
I'm having a problem with MS XML libraries.

We're posting an XML doc to an external site which parses the doc and provides an HTTP Response Number.

We also need the XML to be re-posted from the external site to another page of ours and have the XML saved as a doc.
Code:
<%
strABBXMLFile = Server.MapPath("/spider/abb/abbn/" & Day(Now) & "-" & Month(Now) & "-" & Year(Now) & "_" & Hour(Now) & Minute(Now) & "_standardAbbreviation.xml")

Set doc = Server.CreateObject("Msxml2.DOMDocument.4.0")

doc.load(Request)
doc.save(strABBXMLFile)
%>

The problem we have is with entity declaration and <!DocType > tags. With entity declarations or a DocType in the XML none of the MS XML libraries can save the XML document. If the <DocType > is removed, they xml is saved fine. Can anyone provide any further information on this issue, or if there's a work-around for it?

Rhys
"When one burns one's bridges, what a very nice fire it makes" -- Dylan Thomas
"As to marriage or celibacy, let a man take the course he will. He will be sure to repent" -- Socrates
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top