Receives an XML string from which the SDT is loaded.
[&Boolean =] &SDT.FromXml(&String[,&Messages])
Where:
&String
Attribute or variable string
&SDT
Variable based on an SDT
&Messages
Variable based on GeneXus's Messages data type. In case of an error, it contains the error information. This Parameter is optional.
Type Returned:
Boolean.
It returns False in case of having an error, otherwise, it returns True.
Note: Assigning the return value is optional.
Generators: .NET,
.NET Framework, Java.
It loads the &SDT structure from the &String variable content. This variable's XML format must be compatible with the SDT's structure.
ToXml Method
Structured Data Type (SDT) object