469,362 Members | 2,417 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,362 developers. It's quick & easy.

CDATA's \n to <BR>

I'm working with XSLT for changing XML to XSLT.

for example, I have the follower xml data
---------
<article writer="you">
<contents><![CDATA[
Hello,
How are you?
]]></contents>
---------

then I want to get the following html
---------
<div>Writer : you</div>
<p>Hello,<br>
Hwo are you?</br>
</p>
---------

As you see, I put "<br>\n" whenever meet new line.

How can I get this html through XSLT?
Any hint?

Jul 20 '05 #1
0 2869

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by noor.rahman | last post: by
9 posts views Thread by Wayne | last post: by
7 posts views Thread by Nathan Sokalski | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.