Skip navigation
Currently Being Moderated

displaying html  from xml

Apr 26, 2007 4:22 PM

I get a dynamic web service feed (I can't control the output) that has text with html tags imbedded. The nodes are not wrapped in CDATA. My spry outputs the html tags as text Is there a way to output the html or strip the tags from the text?

*******************xml sample ************************
<ProductName><b>Starwars</b>: Lethal Alliance for Nintendo DS (DS)</ProductName>
<Summary>MODEL- 32839 VENDOR- LUCASARTS FEATURES- <b>StarWars</b> Battlefront II PSP Star Wars Battlefront II improves upon the original game's single- player experience</Summary>

********************outputs tag as text**************************

<div>{dsProducts::ProductName}</div>
<div >{dsProducts::Summary}</div>

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points