Jump to content
Xtreme .Net Talk

Recommended Posts

  • Leaders
Posted
I'm 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?
--tim
  • Leaders
Posted
Geez.. I'm starting to have a codebase of workarounds:( This time I've 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 doesn't break. This works, but seems kinda weird to reference System.Web.anything in a WinForms app.
--tim

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...