Language Reference Guide : System Classes : XMLElement Class : GetChildElementCharacterValue Method
 
Share this page          
GetChildElementCharacterValue Method
The GetChildElementCharacterValue method gets the concatenated value of all children which is XMLText, XMLCDATA, or XMLPI with target ingres_invalidxmlchar for the child element with the given name.
This method has the following syntax:
integer = XMLElement.GetChildElementCharacterValue(name = varchar(256),
          string = byref(StringObject))
This method has the following parameters:
name
(Required) Specifies the name of the XMLText, XMLCDATA, or XMLPI class
string
(Required) Specifies the reference to a StringObject containing the concatenated text value, which should be used BYREF
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.