Display XML together with HTML in ASP.NET?

  • Thread starter Thread starter Jason Goh via .NET 247
  • Start date Start date
J

Jason Goh via .NET 247

Hi,

I was wondering how do I display a XML file within HTML coding
in an aspx page. I would need to preserve the functionality of the XML
file with all the '+' and '-' features.

For example, I need to display the XML file in an HTML table.

Thanks!
 
Hi,

that + and - stuff is provided by the built-in stylesheet IE uses for XML
and you can't get that to work within your HTML as it works for .xml files.

You can embed XML data on the HTML by using say <xml> tag (XML islands), but
to you need to provide the look and feel as well as the viewing
functionality yourself unless you use a some sort of hack and say view XML
separately in a IFRAME or something like that.
 
Back
Top