Erika L. Walker wrote: > Ahhhhh. duh. OK ... Need to store it as proper HTML then the browser will > parse it on displaying. > Racked my head on that one. Thanks again!
That works great if your HTML is actually XHTML! When you 'store' it as HTML in the XML document the XML parser is going to see it as more XML and expect it to be well formed. If the HTML is XHTML compliant then it will be well formed. But if the HTML is old and|or sloppy, as it often is, then the XML parser is going to choke when it comes across an unclosed <p> tag or a mismatched <strong><p> </strong></p> or anything of the like. Just trying to save you another head bump. I know I did something like this in the past, I am am racking my memory on how I got the 'safe' HTML out of XML data and display it in the browser. Unfortunately I no longer have access to that code, previous job and all that. I think it was something with a <cfsavecontent...> and|or XSLT, but I am unsure. I'll think about it over lunch and see if I can remember. Ian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:286709 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
