fromXml

Convert xml Element into T scalar/array/assocarray value.

As converting value only text of xml element is taken into consideration.

Parameters

xml Element

the data that is to be converted.

Return Value

Type: T

value

Throws

InvalidCastException when the type of value does not match stored data.

Meta