XmlN (variable name : value)
variable name = Constant or alphanumeric field (30A)
value = numeric field (max. 30.8)
Return type:
Encoded XML string
Description:
Xmln returns a string variable encoded in XML. This is a primary function for building a xml string.
This is normally used in conjunction with PutXmlRec function
Example:
Eval string = xmln(‘amount’:cust_balance)
Functions in the statement are allowed, and often used.
Eval string = xmln(‘amount’:cust_balance+(100/number))
Notes and Restrictions:
The variable name is case sensitive.
Nummeric values are retrieved using XmlN (or XmlA)