Hi Denis,
I think I worked on this problem long time ago trying to come up with CodeToHTML program. There is a program that does it in Downloads section here, may be you can borrow its ideas.
>Hi Sergey,
>Yes. I remember out thread but
>Its just looks not a same for me ..
>for example & must be converrted to [amp] word there.. not to %..
>I am not sure about my XML which has in header
<?xml version="1.0" encoding="ISO-8859-1"?>
will readable..
>but.. if the string has exact "&" character - the XML is invalid
>
>Denis.
>
>
>>>Is there a tool to translate text to HTML.. for example like
>>>
>>>oConvert.text2html(" M&M's") must return string [M&M's]
>>>
If it's not broken, fix it until it is.
My Blog