[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Trying to add a linebreak


Subject: RE: [xsl] Trying to add a linebreak
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 15 Jul 2002 19:16:00 +0100

> 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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



Current Thread