473,400 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

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 8590
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
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...
0
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...
5
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...
3
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...
1
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...
3
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...
2
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...
3
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...
6
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.