This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: search-replace linefeeds
- From: Ethan Vaughn <ethan at gurulabs dot com>
- To: Gisbert Amm <gia at webde-ag dot de>, docbook at lists dot oasis-open dot org
- Date: Wed, 05 Feb 2003 09:55:14 -0700
- Subject: Re: DOCBOOK: search-replace linefeeds
- Organization: GuruLabs
- References: <74ADFA8C453ED611A71E00508BBBA135D9E743@exchange1.cinetic.de>
On Tuesday 04 February 2003 23:58, you wrote:
<<snip>>
> > The closest i come is this:
> >
> > <xsl:with-param name="replace-string">
> > <xsl:value-of select="'<br>'"/>
> > </xsl:with-param>
> >
> > which of course just sticks a bunch of literal <br> in the
<<snip>>
> What about something like this (untested):
>
> <xsl:variable name="replace-string">
> <xsl:text disable-output-escaping="yes"><br></xsl:text>
> </xsl-variable>
> ...
> <xsl:with-param name="replace-string" select="$replace-string"/>
>
> Regards
> Gisbert Amm
Thanks! That worked.
--------------------------------------
Ethan Vaughn
ethan@gurulabs.com
--------------------------------------