Business Component FromXml method

Official Content
This documentation is valid for:

This method provides the opposite of what gives the ToXml method.

It can be applied to a character field whose content has a specific XML format (predefined by GeneXus), in order to extract from the XML format, the value of each attribute of a Transaction, and charge a variable based on a business component type of the involved Transaction.

Syntax: 

&VbleBasedOnBCType.FromXml(&String)

Where:

&VbleBasedOnBCType

      Is a -temporary and local- variable defined in a GeneXus object, based on a business component type of a Transaction.

&String

     Is a variable or attribute based on a character type and it must contain a specific XML format, with a Tag for each Transaction attribute.

 

See also

Business Components Methods