put_xml_sk - skeleton function for update of xml file
//put_xml_
//Fonction qui insère un
//dans un fichier xml contenant des délimiteurs
//<> et </>
//Entrée : txt : matrice de chaînes de caractères de taille n,
//
//
// filen : nom du fichier xml (ex:filen=xml_path+'CAN_f.xml')
function new_tt=put_xml_(txt,filen)
if fileinfo(filen)<>[] then
if size(txt,2)== then
del1='<>'
del2='</>'
tt_sav=mgetl(filen);
//trouve la position des délimiteurs
for i=1:size(tt_sav,1)
if strindex(tt_sav(i),del1)<>[] then a=i, end;
if strindex(tt_sav(i),del2)<>[] then b=i, end;
end
else
printf("Incompatible rsh variable\n");
end
else
printf("File %s not found\n",filen);
new_tt=[];
end
endfunction
IRCOM Group
Alan Layec