Rob and Alex,

The CDATA trick worked well for this application.
Thanks for your help. 

Mark

-----Original Message-----
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 31, 2005 12:42 PM
To: CF-Talk
Subject: Re: XML/XSLT Line Break

There are a couple tricks to do this, but I think your best bet would be to
add a cdata section to your xml - I think that will solve your problem. So:

<caption><![CDATA[ "I now have a natural looking radiant smile that receives
constant compliments and additionally have no more headaches!"  -- Gina
]]></caption>

Will keep the parser from parsing the data and removing the line breaks - at
least it should.

Otherwise you could do it in the xslt by adding <xsl:text>&#x0A;</xsl:text>
to get some line breaks in there.

Hope that helps





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192387
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to