Re: [xsl] text replacement with mixed content

Subject: Re: [xsl] text replacement with mixed content
From: Geert Bormans <geert@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Aug 2011 14:09:25 +0200
At 13:30 31/08/2011, you wrote:
> <x>
> <p>my foo, zzz, my <bold>foo</bold>, zzz</p>
> <p>zzz my f-oo zzz m-y foo zzz</p>
> <p>zzz my foo zzz my <j>foo my foo</j> zzz</p>
> <p>zzz my<b> fjjj</b></p>
> <p>zzzzz<b>my </b><x> </x><b>foo zzz</b></p>
> </x>

..but what's the required output?

Hi Andrew, sorry, I was on the phone for a while...

I hope I didn't make any mistakes :-)
here is what I need

<p><rep>your bar</rep>, zzz, <rep>your bar</rep>, zzz</p>
<p>zzz <rep>your bar</rep> zzz <rep>your bar</rep> zzz</p>
<p>zzz <rep>your bar</rep> zzz <rep>your bar</rep><rep>your bar</rep> zzz</p>
<p>zzz my<b> fjjj</b></p>
<p>zzzzz<b><rep>your bar</rep> zzz</b></p>

Current Thread