User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 401,951 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,357 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Views: 6994 | Replies: 0
Reply
Join Date: Jun 2004
Posts: 36
Reputation: timhysniu is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
timhysniu timhysniu is offline Offline
Light Poster

HTML in CDDATA wont parse

  #1  
Sep 28th, 2006
Hello there,

We are using XSL transformations using XML for one of our sites. Anyway the idea is to show everything styled just like a regular html.

I have a problem though.

I have a node that looks like this. When I display it it will show on browser as unparsed HTML. Does someone know how to make sure that this content is parsed?

Funny Node:
----------------
<summary>
- <![CDATA[ <b><font color=red>Travel Dates: Now - December 23, 2006 </b></font><br><br> <b><font color=green>All-Inclusive!</font><i> ~ Adults Only! Luxurious Superior Room...indulge body, mind & spirit!</i></b> <br><i>Now Includes "Free Your Mind" Travel Protection Program!</i> <b><br><br><i><font color=green>Other Available Dates...</i><br></font> </b> For Travel January 4 - April 14, '07 <a href=http://www.cheapcaribbean.com/specialAvailability.jsp?pacID=198>CLICK HERE</a>
]]>
</summary>

Using XSL I'm displaying it like this:
------------------------------------------

<div>
<xsl:value-of select="summary" />
</div>

I did lots of researching and Im getting nowhere. Hopefully some of you have done this before.

Thank You,
tim
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb RSS, Web Services and SOAP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the RSS, Web Services and SOAP Forum

All times are GMT -4. The time now is 5:32 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC