Hi,
I am attempting to right a news scroller control that is driven by and XML
file. The way I have it set up is:
<News>
<Item Title="sometitl e">
html content goes here
</Item>
</News>
My hope was to be able to put the html for each news post in the middle of
the Item elememts and then fetch those using an asp:DataList. Well everything
works except that I loose my html tags. I get all the text but don't get
links, formating, etc...
I am using <%#XPath(".") %> to fetch the html content from the Xml in my
DataList control. Is there a way to have the html tags make it to the browser
using this setup?
Thanks,
Ryan
I am attempting to right a news scroller control that is driven by and XML
file. The way I have it set up is:
<News>
<Item Title="sometitl e">
html content goes here
</Item>
</News>
My hope was to be able to put the html for each news post in the middle of
the Item elememts and then fetch those using an asp:DataList. Well everything
works except that I loose my html tags. I get all the text but don't get
links, formating, etc...
I am using <%#XPath(".") %> to fetch the html content from the Xml in my
DataList control. Is there a way to have the html tags make it to the browser
using this setup?
Thanks,
Ryan
Comment