You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "michael.veeck" <Mi...@virtual-identity.com> on 2000/10/06 16:10:34 UTC

Newbie question : Replacing text in XPath

Following problem :
I want to change all occurances of "&lt;BR&gt;" in a string with a
whitespace. But the translate-function replaces all B's (and all other
characters in "&lt;BR&gt;") in my string with a whitespace. 
How can I achieve the behavior I want so that the whole String (and only the
String) is replaced (The "&lt;BR&gt;"-string can occur more than once in the
same string!) ?

Thanks in advance !
Michael Veeck