convertFromXML()

The xmlLib.convertFromXML() system function converts an XML string into a record.

Syntax

  xmlLib.convertFromXML(xmlString STRING in, 
                              record ANY const in)
xmlString
An XML string.
record
The name of a non-structured record.
Note: Although this argument is declared as ANY type, the EGL runtime verifies that the input is a Record part. Because of the declaration, you can use the function in a library function that accepts any type of record, as in the following example:
function convert(gwr UIGatewayRecord in, record2Populate ANY const in)
  xmlLib.convertFromXML(gwr.xmlData, record2Populate);
end