Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > CDATA's \n to <BR>

Thread Tools

CDATA's \n to <BR>

Son KwonNam
Posts: n/a
I'm working with XSLT for changing XML to XSLT.

for example, I have the follower xml data
<article writer="you">
How are you?

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

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

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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off