472,119 Members | 1,543 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 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 8517
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Srinivas Chundi | last post: by
reply views Thread by Ashish | last post: by
5 posts views Thread by Tomaz Koritnik | last post: by
1 post views Thread by Jesse Liberty | last post: by
3 posts views Thread by Irfan Akram | last post: by
2 posts views Thread by John Daly | last post: by
6 posts views Thread by MC | last post: by
reply views Thread by leo001 | last post: by

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.