473,554 Members | 3,071 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying XML Stream on ASP.NET Page

I am writing an application which will get stream of XML Data from a
CRM application. I am able to make HTTP request and retrieve the xml
stream in XML Text Reader. I want to display this data on an ASP.NET
page.

I have done some research and found that there is XML Web Server
control in ASP.NET. However, all the examples I have seen utilize a
XML document and not an XML Stream or XMLTextReader object. Can XML
Web Server control also read from XML Text Reader. Also, what other
options can I use to display stream of XML Data on ASP.NET Page.

Any help would be greatly appreciated.
Nov 12 '05 #1
2 8607
Ashish wrote:
I am writing an application which will get stream of XML Data from a
CRM application. I am able to make HTTP request and retrieve the xml
stream in XML Text Reader. I want to display this data on an ASP.NET
page.

I have done some research and found that there is XML Web Server
control in ASP.NET. However, all the examples I have seen utilize a
XML document and not an XML Stream or XMLTextReader object.
You can easily load Stream or XmlReader into instance of XmlDocument and
then assign it to the Document property of asp:xml control.
Can XML
Web Server control also read from XML Text Reader.
The control takes XmlDocument as source, but you can load XmlDocument
from Stream, TextReader or XmlReader.
Also, what other
options can I use to display stream of XML Data on ASP.NET Page.


That depends on the structure of your XML. If it fits into relational
table model, you may want to use DataGrid.
--
Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com
Nov 12 '05 #2
Ashish wrote:
I am writing an application which will get stream of XML Data from a
CRM application. I am able to make HTTP request and retrieve the xml
stream in XML Text Reader. I want to display this data on an ASP.NET
page.

I have done some research and found that there is XML Web Server
control in ASP.NET. However, all the examples I have seen utilize a
XML document and not an XML Stream or XMLTextReader object.
You can easily load Stream or XmlReader into instance of XmlDocument and
then assign it to the Document property of asp:xml control.
Can XML
Web Server control also read from XML Text Reader.
The control takes XmlDocument as source, but you can load XmlDocument
from Stream, TextReader or XmlReader.
Also, what other
options can I use to display stream of XML Data on ASP.NET Page.


That depends on the structure of your XML. If it fits into relational
table model, you may want to use DataGrid.
--
Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
11755
by: Srinivas Chundi | last post by:
I have to display tif images using .asp page. I have tried to read the image as a binary file and stream it to the browser. The relevant code is as follows. Unfortunately, the display on the browser is a lot of gobledygook. How can I ensure that the image displays correctly in the browser? Dim objStream Dim FilImage, FolImage, strFilImage...
0
454
by: Ashish | last post by:
I am writing an application which will get stream of XML Data from a CRM application. I am able to make HTTP request and retrieve the xml stream in XML Text Reader. I want to display this data on an ASP.NET page. I have done some research and found that there is XML Web Server control in ASP.NET. However, all the examples I have seen...
5
7804
by: Tomaz Koritnik | last post by:
Hi I have many short HTML files stored in a binary stream storage to display descriptions for various items in application. HTML would be display inside application using some .NET control or COM control (like Microsoft WebBrowser). For each description there is one HTML file and along description text, it contains links to related...
3
5858
by: T. Davis | last post by:
In C#, I am able to successfully stream a TIFF image that comes from a BLOB field in a database, save it to file, then convert the pages within TIFF file into jpegs (using GDI+) and display on the web (using ASP.NET). However, when I generate the Image object using FromStream (passing in the MemoryStream containing image bytes), an...
1
1530
by: Jesse Liberty | last post by:
Hi. I'd like to create an xml document on the fly and then display it in an asp.net page. I can use an iframe and point to a URL (which displays perfectly), but I'd not like to save the xml to a file (it will be built as I go along). I can use the <asp:xml> control, but I don't want to have to write the XSLT, I love the one I get for...
3
1335
by: Irfan Akram | last post by:
Hi Guys, I am having problems displaying an image from the database, that alreday has been uoploaded successfully. The image loads in correctly, but by default it is displayed on the whole page. I want it to bde displayed on some part of the page. I was able to do that if I used img.ImageUrl, for images stored on my hard drive, but I want...
2
1515
by: John Daly | last post by:
We have approximately 90 computer users, but only 13 have internet access, the rest are not configured to browse the internet. We want to display certain web sites to all users without reconfiguring their pcs. Is there a way to have our intranet web server retrieve the external page and then display the results to the user? Thanks.
3
5808
by: CD | last post by:
An application is logging faxes sent in SQL2000 image column type. I have found code on the net but what it is doing is prompting to save to local which is fine for single page image. Not good for multiple page faxes. I have not been able to locate an example to load in the browser or how to handle multiple image in the one column. 1)...
6
2443
by: MC | last post by:
Suppose I wish to do a programmatic POST. Is it possible to display the response in a browser? I also want to keep the same session as was made with the POST. All I can think of is to first save the response stream to a file but I don't like that idea, partly because I lose the session. Thanks for any input, Craig
0
7584
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7783
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7879
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6129
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5426
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3548
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1117
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.