[xsl] String parsing in XSLT/XPath?

Subject: [xsl] String parsing in XSLT/XPath?
From: Ying Qin <yqin@xxxxxxxxxx>
Date: Fri, 7 Sep 2001 18:32:45 -0700
Hi, gurus,

Could anyone please shed some light on the problem I've been struggling for
a while?

I need to transform an XML doc to an HTML doc.  There is one element that
contains multiple lines and will need to be shown in the HTML doc as
multiple lines as well.  Bascially I will need to put <BR/> to the end of
each line of that element.

Here is the piece of XML
<ADDRESS>address line1
address line2
address line3</ADDRESS>

And I expect the HTML piece to be,
address line1<BR/>
address line2<BR/>
address line3<BR/>

Any idea?

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread