Table of Content
HAL Forum
function string 255 ConvertXml (
string Source)
Description:
Returns a xml-safe string.
Parameters:
Source a text that will be placed between xml tags.
external function string 255 ConvertXml(string);

global
procedure OnApplicationStartup() 
begin
  string 255 tstr;
  
  tstr = "<Not a safe string for XML> & <This is a test>";
  tstr = "<xml>"&ConvertXml(tstr)&"</xml>";
  stopalert(tstr);

  return;
end;
Related topics:
««