The file I'm trying to load is weel formated XML document
for example:
script.xml.asp:
-----------------------------------
<%
Response.ContentType="text/xml"
%>
<root>
<node>test node</node>
<%
'some vb instructions
%>
</root>
------------------------------------
Is there any possibility to execute this asp script and load result to DOM
document ?!.
When i use Server.Execute method the result will be send to client browser
( not to xml.load method )
When i use full path: xml.load("http://somedomain.com/script.xml.asp")... i
have to restart iss. I think it is because iis is going to execute
script.xml.asp after executing current script, but current script is waiting
for results from script.xml.asp....Woww... ;)
regards
Lujcon
"Rob Meade" <ro********@NO-SPAM.kingswoodweb.net> wrote in message
news:CJ*********************@news-text.cableinet.net...
"Tomasz Ludwiniak" wrote...
set xml = Server.CreateObject("MSXML2.DOMDocument")
xml.async=false
xml.load(Server.Execute("script.xml.asp"))
but it doesn;t work !
I'm probably wrong, but as you are creating an object for the XML Dom,
shouldn't the file you are trying to load with xml.load be a well-formed
XML document?
If you want the ASP to do something too - just use an include
<!--#Include File="script.asp"-->
etc...
I'm probably wrong though - haven't played a lot with XML yet...
Regards
Rob