Rhys666
Programmer
- May 20, 2003
- 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.
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
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