PrintString('nick',nick);
PrintString('email',email);
end;
OutList.Add(' </'+title+'>');
end;
end;
procedure SaveSequence;
var
s: string;
begin
with Form1 do
begin
if sequence.Text = '' then exit;
S:= '<sequence name=«' +sequence.Text+'» ';
if tome.Text = ''
then S:= S + '/>'
else S:= S + ' number=«'+tome.Text+'» />';
end;
OutList.Add(S);
end;
procedure SaveDescription;
const
max = 5;
mas: array[1..max] of string =
(
'<?xml version=«1.0» encoding=«windows-1251» ?>',
'<FictionBook xmlns=«http://www.gribuser.ru/xml/fictionbook/2.0» ',
' xmlns: l=«http://www.w3.org/1999/xlink» >',
' <description>',
' <title-info>'