FromXml method - SDT

Official Content
This documentation is valid for:

Receives an XML string from which the SDT is loaded.


[&Boolean =] &SDT.FromXml(&String[,&Messages])


    Attribute or variable string

    Variable based on an SDT

     Variable based on GeneXus's Messages data type. In case of an error, it contains the error information. This Parameter is optional.  

Type Returned:
     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.

See Also

ToXml Method
Structured Data Type (SDT) object