html inside xml document

quwiltw

Well-known member
Joined
Sep 18, 2001
Messages
486
Location
Washington, D.C.
Im getting an xml representation of a dataset to transform against a stylesheet -- it works fine. I want to let people include URLs a hrefs right in the text though. Somewhere in the process, it htmlencodes (or the equivelent) the a tag stuff making it appear as regular text. Anyone know of a way around this?
 
Geez.. Im starting to have a codebase of workarounds:( This time Ive found that the System.Web.HTTPUtility has an HTMLDecode method that does the trick. The dataset must automatically encode all of the content so that XML serialization doesnt break. This works, but seems kinda weird to reference System.Web.anything in a WinForms app.
 
Back
Top