XmlD (variable name : value)
variable name = Constant or alphanumeric field (30A)
value = numeric field (8,0) YYYYMMDD

Return type:
Encoded XML string

Description:
XmlD returns a string variable encoded in XML. This is a primary function for building an xml string.

This is normally used in conjunction with PutXmlRec function

Example:

Eval string = xmlD(‘create’:date)

Notes and Restrictions:
The variable name is case sensitive.
Dates are automatically formatted by the system from YYYYMMDD into the format specified in the system file SSAPD000P