T4EA  18.2 C7549 A21431
Teamcenter Gateway for Enterprise Applications API Reference
T4X::XML::PARSER Namespace Reference

Functions

 getResultArrayInfo strXmlResponse strArrayName ?xmlTagStartIndex? ?xmlTagTableStartIndex? ?blnUnsetSourceArray? args
 Parses the received XML response, creates an TCL array ::xml_result_array for it and then parses this array and creates another array (given name) with a proper format for further processing. More...
 

Function Documentation

◆ getResultArrayInfo()

T4X::XML::PARSER::getResultArrayInfo   strXmlResponse strArrayName ?xmlTagStartIndex? ?xmlTagTableStartIndex? ?blnUnsetSourceArray? args  

Parses the received XML response, creates an TCL array ::xml_result_array for it and then parses this array and creates another array (given name) with a proper format for further processing.

Parameters
strXmlResponse- XML response to be parsed
strArrayName- TCL array which will be used as result array (optional - default = 2)
xmlTagStartIndex- Index, which XML Tag will be used to start processing the payload (optional - default = 3)
xmlTagTableStartIndex- Index, after which the XML Tags will be treated as a table
blnUnsetSourceArray- Defines if the temporary created array ::xml_result_array will be cleaned afterwards (optional - default = TRUE)
Returns
TCL array 'strTargetArrayName' with content of xml response

References T4X::CORE::getSessionLogChannel(), and tpwrite().

Referenced by T4EA::PROP::CUSTOM::MAPPING::GetEAData_BillOfMaterial().