Charlie, I think He wants the result you show in 3.Michael feel free to correct me.
I got him to the point like you showed in 2 i.e. with <p> tags etc by using replacelist function to get rid of CDATA etc. <p class="meta"><strong>Property Description:</strong>#replacelist(shortDescription, '<![CDATA[,]]>','')#</p> Steve mentioned a link that would take care of replacing html tags. <Ajas Mohammed /> http://ajashadi.blogspot.com We cannot become what we need to be, remaining what we are. No matter what, find a way. Because thats what winners do. You can't improve what you don't measure. Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives. On Fri, Jan 28, 2011 at 12:37 PM, Charlie Arehart <[email protected]>wrote: > That wasn’t clear to me. Thanks. > > So let’s make it simple for everyone to follow along and perhaps resolve > things. It would be as if you (Michael) did this (always helpful to offer a > simple reproducible case): > > <cfset x = “<![CDATA[<p><strong>Location.</strong> <br > />This condo property is located in Celebration. Old Town is an area > attraction. Another nearby attraction is Wide World of Sports. > </p><p><strong>Features. </strong>]]>”> > > <cfoutput> > > #x# > > </cfoutput> > > What would be the output you would want to appear? > > 1) Is it: > > <![CDATA[<p><strong>Location.</strong>; <br />This condo property is > located in Celebration. Old Town is an area attraction. Another nearby > attraction is Wide World of Sports. </p><p><strong>Features.</strong>]]> > > --- > 2) Or do you want: > > <p><strong>Location.</strong>; <br />This condo property is located in > Celebration. Old Town is an area attraction. Another nearby attraction is > Wide World of Sports. </p><p><strong>Features.</strong> > > ----- > 3) Or do you want: > > *Location.* > > This condo property is located in Celebration. Old Town is an area > attraction. Another nearby attraction is Wide World of Sports. > > *Features.* > > --- > > > /charlie > > > > *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Steve Ross > *Sent:* Friday, January 28, 2011 10:52 AM > > *To:* [email protected] > *Subject:* Re: [ACFUG Discuss] XML data showing in dump but not in > cfoutput > > > > charlie the problem is that the CDATA is already in > etc he needs to > convert it back and unfortunately there is no "unhtmleditformat" in CF... > > > > ------------------------------------------------------------- > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- >
