Display XML together with HTML in ASP.NET?

  • Thread starter Jason Goh via .NET 247
  • 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!
 
T

Teemu Keiski

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top