I use the StrHtmlEncode and StrHtmlDecode functions in the IdStrings
unit in the Indy library.
 
I'm sure there are other similar functions around.
 
HTH,
 
C.

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Steven Knight
 
I am wanting to write out text into an xml file. The text may contain
special characters like & / < etc and I need to protect them.

Can anyone tell me the name of a function that will do this easily. 

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to