Question about sending and receiving XML via ASP's

Sudhanshu Bagora sbagora at inacom.com
Fri Nov 13 17:45:06 GMT 1998


Hi,

I am currently working on a project which passes XML back and forth via
ASP's.

The scenario is as follows:

1)  Page1.asp is creating an XMLBlock and passing it on to Page2.asp
2) Page2.asp saves the XMLBlock in a file and loads it, parses it and does
some processing.
Then Page2.asp forms another new ReturnXMLBlock which needs to be passed
back to Page1.asp

The method i am using to pass XMLBlock from Page1.asp to Page2.asp is

.....
XMLDoc.URL = "http://.... Page2.asp?XMLBlock=" + XMLBlock

....
Parse ReturnXMLBlock
......

and am expecting ReturnXMLBlock to be loaded in XMLDoc after this above
statement is processed.

This above operation is not successful.  I have tried to do it in IE4.0 as
well as IE5.0

The question i have is:

a)  Is this valid? Can i expect to get a new ReturnXMLBlock after the
XMLDoc.URL statement is processed.
b)  If it is valid -  What am i doing wrong?
c)  What would the syntax be in Page2.asp where i am returning the
ReturnXMLBlock? In Script tags or plain XML tags??

Any help would be greatly appreciated.

Thanks in advance.

-sudhanshu-



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list