Thanks, Sergei. Can you direct me to some documentation on how to preserve those illegal characters?
>There are ways to represent illegal characters in XML. If you don't care about preserving them, use CHRTRAN
>
>lcIllegalCharacters = "..."
>lcReplacemets = REPLICATE("*", LEN(lcIllegalCharacters))
>... CHRTRAN(cField, lcIllegalCharacters, lcReplacemets)
>
>
>>I want to check fields in a table for illegal characters and replace them with '*'. This is because I'm running a program that converts table data to XML and the program chokes on illegal characters.
>>
>>Is there a way to say something like this:
>>
>>
>>replace all cField with STRTRAN(cField, IllegalCharacter, '*')
>>
>>
>>Thanks,
>>
>>Yossi