Element Replace Vars Self#.tmp dd ? PointWork doReplace \local s1,s2,s3,sv.t DataSave data,data.type,[Self#.tmp],sv.t sub esp,12 ReadStr s1,[Self#.tmp],data.type,Self#.Str,0 mov_ex eax,s1 mov edx,esp call __strdupnoclear ReadStr s2,[Self#.tmp],data.type,Self#.Sub_str,Self#.prop.SubStr mov_ex eax,s2 lea edx,[esp+4] call __strdupnoclear ReadStr s3,[Self#.tmp],data.type,Self#.Dest,Self#.prop.DestStr mov_ex eax,s3 lea edx,[esp+8] call __strdupnoclear mov edx,esp mov eax,[esp+4] mov ecx,[esp+8] stdcall __strreplace mov eax,[esp] Self#.onReplace eax,data_str lea edx,[esp+8] call __strclear lea edx,[esp+4] call __strclear mov edx,esp call __strclear add esp,12 DataClear [Self#.tmp],sv.t EndPoint EndElement