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

Manipulating XML Stream

Status
Not open for further replies.

DrinkN1

Programmer
Apr 15, 2002
23
US
Issue: I have a web page that needs to receive information from an XML stream and manipulate it before displaying.

Here's my complete (simplified and working) scenario:

I have a web page (FirstPage.aspx) that creates report data in XML. I have my response.contenttype = "text/xml". This generates an XML stream.

I have another page (SecondPage.aspx) that uses the OWC control as an HTML object <Object... XMLURL = "FirstPage.aspx"> that will call the XML page that generates the data, and then the report is properly rendered in the OWC control.

This all works. Navigating to FirstPage.aspx will display the raw XML data. Navigating to SecondPage.aspx displays the OWC control with the XML data properly imported into the control.

I do NOT want to use the OWC control for display.

Here is what I'd like to be able to do.

I would like a page (ThirdPage.aspx) that:
1) When Navigated to, ThirdPage.aspx will look to see if there is an XML String to pull in.
2) If there is, pull the XML Data into the page, so I can work with it in the code-behind for displaying.

If that is not possible, then:
1) When Navigated to, ThirdPage.aspx will call FirstPage.aspx to generate the XML data.
2) ThirdPage.aspx will then receive the data, and be processed in the code-behind for displaying.


Much Appreciation!






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top