[DUG] encoding special characters in XML
Conor Boyd
Conor.Boyd at trimble.co.nz
Mon Jun 11 15:02:24 NZST 2007
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: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070611/a44cfef1/attachment.html
More information about the Delphi
mailing list