.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Html tags added to xml data in aspx

Posted By: Sajid P K     Posted Date: October 29, 2010    Points:2   Category :ASP.Net
Hi All,

I am facing a big issue while displaying xml data in .aspx page using c#.net. Scenario explained as below.

1. I have written code to generate dynamic xml structure.

2. When I browse this aspx page, it displaying the generated xml structure perfectly in the browser in all environments.

4. When I moved this to live this page is adding HTML tags to that page(newly created). As this generated xml is source for flash file, flash is not rendering in live.

So can anybody knows how to remove this html content from the page or any other alternate solution?

Sajid P K

Author: Raga             
Posted Date: November 08, 2010     Points: 5   

You can use replace function....

Like replace > with >
< with &lt; after parsing the data from XML generated

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend