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

XML view similar to IE in ASP .NET

Status
Not open for further replies.

DilipKS

Programmer
Mar 8, 2004
30
0
0
CH
Hi
I am developing a web based ASP .NET application using C#.
One of the requirements I have that I need to display an XML file in of the TABs ( TAB Control I already done with ).
That XML should be displayed in similar way like it gets displayed when you open an XML in IE(Internet Explorer).
Is there any control or method in ASP .NET by which I can just assign the XML file name and get the same view ?


Many Thanks
Dilip
 
A default stylesheet is used by IE that is assigned to teh XML to render it in that format if no other stylesheet is declared to be used by the document. To do the same thing in your Application you need to use the XML conttrol and assign the XML document and an XSLT file that will transform the output to the correct format.

James :)

James Culshaw
james@miniaturereview.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top