[r51]: / trunk / library / XmlControl / FB_XmlControl / NewParameter / svnobj  Maximize  Restore  History

Download this file

15 lines (14 with data), 1.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
(*
    Must be called after opening a new tag
    XML.NewParameter(Name: = 'ParaName', Value: = 'Value');
*)
METHOD PUBLIC NewParameter
VAR_INPUT
    Name : T_MaxString;
    Value : T_MaxString;
Buffer.Append := SPACE;  
Buffer.Append := Name;
Buffer.Append := EQUALS; 
Buffer.Append := QUOTE; 
Buffer.Append := Value;
Buffer.Append := QUOTE;