469,312 Members | 2,492 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,312 developers. It's quick & easy.

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 8428
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
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.