This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Trying to add a linebreak
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 15 Jul 2002 19:16:00 +0100
- Subject: RE: [xsl] Trying to add a linebreak
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I have a tag that contains a comment string.
Presumably the comment is in the content of an element, i.e. between the
start and end tags, not actually in either of the tags?
I want to be able to
> search that string and look for a '#' and whenever I see this, I want
> to add a line break <br>. I was trying to do it by the
> following code,
> but found that the line break occurs ONLY after the first '#'. Can
> anyone suggest a way I can make this work?
>
Look in the FAQ under "replace".
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list