Hallo,
i tried to replace the special character " in a string but with no success

.
I tried something like this:
<xsl:if test="contains($string, '"')"> ...
I know, this doesn't replace anything. But still at this point the main problem occurs.
Because the entity " is replaced by the character " and that seems not to be allowed. I have no possibility to change the source document. I only know that there are these special characters which i want (must) change to \dq{}.
The result document is TEX.
I would appreciate any help.
Fosca