[Top] [All Lists]

Re: [xsl] text replacement with mixed content

2011-08-31 07:09:56
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>

XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>

<Prev in Thread] Current Thread [Next in Thread>