B
Bruno
Hello,
I don't know well XML and I can't figure out how to solve this problem ..
I need to replace some strings inside a text using XSL and inside a for-each
statement (the list of strings to replace).
I've tried to use the common replace functions we can find usually on forums
or websites but it outputs several times the same text with every string
replaced.
ex:
....
<text> This is the text to modify ! </text>
....
I would like to replace for example 'This' by '<b>This</b>' , 'text' by
'<b>text</b>' etc...
for the moment I have :
<b>This</b> is the text to modify ! This is the <b>text</b> to modify !
etc...
I would like :
<b>This</b> is the <b>text</b> to modify !
Any idea ?
Thanks
I don't know well XML and I can't figure out how to solve this problem ..
I need to replace some strings inside a text using XSL and inside a for-each
statement (the list of strings to replace).
I've tried to use the common replace functions we can find usually on forums
or websites but it outputs several times the same text with every string
replaced.
ex:
....
<text> This is the text to modify ! </text>
....
I would like to replace for example 'This' by '<b>This</b>' , 'text' by
'<b>text</b>' etc...
for the moment I have :
<b>This</b> is the text to modify ! This is the <b>text</b> to modify !
etc...
I would like :
<b>This</b> is the <b>text</b> to modify !
Any idea ?
Thanks