how getProperty from diffrents level of AML reponse

After applying an AML query, I have a response (structure with root and relation)

How can I get properties from each level of the response?
for example, I would like to get ID at different levels of the responses (Root and relationShip)

For first level..easy...with Item.getID();
But how to getProperty for relationShip (
r02xx_i0203GPHead) linked ?

Index = 1
type="i0213_AfterSales" id="4EBE1FC05B62427582A9FBB1BED9BF36
type="r02xx_i0203GPHead" id="2B3F208CCD88407A97AA14BD3A1E29B9

Index = 2
type="i0213_AfterSales"  id="DC2DCC728E534797BCF98CB00950F717
type="r02xx_i0203GPHead" id="1C88AEAFDDF641DC87ABB48777B3964B
Index = ...
 



rep2.xml

<Item type="i0213_AfterSales" typeId="5701276290474EA595160103CFA1EDD9" id="4EBE1FC05B62427582A9FBB1BED9BF36"><id keyed_name="FB10" type="i0213_AfterSales">4EBE1FC05B62427582A9FBB1BED9BF36</id>
<Relationships><Item type="r02xx_i0213_i0205" typeId="2A72BBC8F80640FEBF4911BC834AD6E2" id="FF7643F8E54B4382AD5F8DC207EA2F12"><behavior>fixed</behavior><config_id keyed_name="FF7643F8E54B4382AD5F8DC207EA2F12" type="r02xx_i0213_i0205">FF7643F8E54B4382AD5F8DC207EA2F12</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-05-11T08:41:37</created_on><generation>1</generation><id keyed_name="FF7643F8E54B4382AD5F8DC207EA2F12" type="r02xx_i0213_i0205">FF7643F8E54B4382AD5F8DC207EA2F12</id><is_current>1</is_current><is_released>0</is_released><keyed_name>FF7643F8E54B4382AD5F8DC207EA2F12</keyed_name><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-05-11T08:41:37</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMAllReleased" type="Permission">4C3E31E80D9F481291C5666F7B40C861</permission_id><related_id keyed_name="FB10" type="i0205_ECUUsine"><Item type="i0205_ECUUsine" typeId="B72818AA8D7A4E6EA639D3FA3CB70103" id="16E17809AA264A0A96FD05EEDE07DCFE"><id keyed_name="FB10" type="i0205_ECUUsine">16E17809AA264A0A96FD05EEDE07DCFE</id>
<Relationships><Item type="r02xx_i0205_i0214" typeId="9E0A4AD1E1C54C998BFA33A66712D4A2" id="79E450A66F8C4DC29D3F12D98A083700"><behavior>hard_fixed</behavior><config_id keyed_name="79E450A66F8C4DC29D3F12D98A083700" type="r02xx_i0205_i0214">79E450A66F8C4DC29D3F12D98A083700</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-04-20T14:13:25</created_on><generation>1</generation><id keyed_name="79E450A66F8C4DC29D3F12D98A083700" type="r02xx_i0205_i0214">79E450A66F8C4DC29D3F12D98A083700</id><is_current>1</is_current><is_released>0</is_released><keyed_name>79E450A66F8C4DC29D3F12D98A083700</keyed_name><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-04-20T14:13:25</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMAllReleased" type="Permission">4C3E31E80D9F481291C5666F7B40C861</permission_id><related_id keyed_name="FB10" type="i0214_ECUDiag"><Item type="i0214_ECUDiag" typeId="6628B1B80F514476BF0FE1AF338FEC30" id="FA3AC32BCE554DF48D7EA88543133452"><id keyed_name="FB10" type="i0214_ECUDiag">FA3AC32BCE554DF48D7EA88543133452</id>
<Relationships><Item type="r02xx_i0214_i0203" typeId="CB52C3B41B624142A885201F8D73DDE2" id="DD98B6BA164F423A9B32FDC9571F8F5D"><behavior>fixed</behavior><config_id keyed_name="DD98B6BA164F423A9B32FDC9571F8F5D" type="r02xx_i0214_i0203">DD98B6BA164F423A9B32FDC9571F8F5D</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-05-10T16:43:10</created_on><generation>1</generation><id keyed_name="DD98B6BA164F423A9B32FDC9571F8F5D" type="r02xx_i0214_i0203">DD98B6BA164F423A9B32FDC9571F8F5D</id><is_current>1</is_current><is_released>0</is_released><keyed_name>DD98B6BA164F423A9B32FDC9571F8F5D</keyed_name><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-05-10T16:43:10</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMAllReleased" type="Permission">4C3E31E80D9F481291C5666F7B40C861</permission_id><related_id keyed_name="ABS ABS" type="i0203_EcuEng"><Item type="i0203_EcuEng" typeId="44885C607128403C9221B69800E613A1" id="7810137C0DFE4B7196796BBE91C4C67F"><config_id keyed_name="ABS ABS" type="i0203_EcuEng">7810137C0DFE4B7196796BBE91C4C67F</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-05-09T16:38:48</created_on><current_state name="In Work" keyed_name="In Work" type="Life Cycle State">2A67827419A9470CADDDF379957ABFFF</current_state><generation>1</generation><id keyed_name="ABS ABS" type="i0203_EcuEng">7810137C0DFE4B7196796BBE91C4C67F</id><is_current>1</is_current><is_released>0</is_released><keyed_name>ABS ABS</keyed_name><locked_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</locked_by_id><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-05-10T20:04:55</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMEngEcu" type="Permission">B392293F385449D68C98F39549EF9D9D</permission_id><state>In Work</state><_alias keyed_name="ABS" type="i0221_ECUAlias">6C3C5D31E5CD43E888D40E76E2CDC779</_alias><_name>ABS</_name>
<Relationships><Item type="r02xx_i0203GPHead" typeId="6A96B75BD3AB4093B355CC4A6E868BDB" id="2B3F208CCD88407A97AA14BD3A1E29B9"><_ecueng keyed_name="ABS ABS" type="i0203_EcuEng">7810137C0DFE4B7196796BBE91C4C67F</_ecueng><behavior>float</behavior><config_id keyed_name="Gp10" type="r02xx_i0203GPHead">2B3F208CCD88407A97AA14BD3A1E29B9</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-05-10T20:04:45</created_on><generation>1</generation><id keyed_name="Gp10" type="r02xx_i0203GPHead">2B3F208CCD88407A97AA14BD3A1E29B9</id><is_current>1</is_current><is_released>0</is_released><keyed_name>Gp10</keyed_name><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-05-10T20:04:46</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMEngEcu" type="Permission">B392293F385449D68C98F39549EF9D9D</permission_id><sort_order>128</sort_order><source_id keyed_name="ABS ABS" type="i0203_EcuEng">7810137C0DFE4B7196796BBE91C4C67F</source_id><_id>Gp10</_id><itemtype>6A96B75BD3AB4093B355CC4A6E868BDB</itemtype></Item></Relationships></Item></related_id><sort_order>128</sort_order><source_id keyed_name="FB10" type="i0214_ECUDiag">FA3AC32BCE554DF48D7EA88543133452</source_id></Item></Relationships></Item></related_id><sort_order>128</sort_order><source_id keyed_name="FB10" type="i0205_ECUUsine">16E17809AA264A0A96FD05EEDE07DCFE</source_id></Item></Relationships></Item></related_id><sort_order>128</sort_order><source_id keyed_name="FB10" type="i0213_AfterSales">4EBE1FC05B62427582A9FBB1BED9BF36</source_id></Item></Relationships></Item>

<Item type="i0213_AfterSales" typeId="5701276290474EA595160103CFA1EDD9" id="DC2DCC728E534797BCF98CB00950F717"><id keyed_name="FB20" type="i0213_AfterSales">DC2DCC728E534797BCF98CB00950F717</id>
<Relationships><Item type="r02xx_i0213_i0205" typeId="2A72BBC8F80640FEBF4911BC834AD6E2" id="E6EE3349E2E24070BF79B89BAAD126D7"><behavior>fixed</behavior><config_id keyed_name="E6EE3349E2E24070BF79B89BAAD126D7" type="r02xx_i0213_i0205">E6EE3349E2E24070BF79B89BAAD126D7</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-05-11T08:40:44</created_on><generation>1</generation><id keyed_name="E6EE3349E2E24070BF79B89BAAD126D7" type="r02xx_i0213_i0205">E6EE3349E2E24070BF79B89BAAD126D7</id><is_current>1</is_current><is_released>0</is_released><keyed_name>E6EE3349E2E24070BF79B89BAAD126D7</keyed_name><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-05-11T08:40:44</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMAllReleased" type="Permission">4C3E31E80D9F481291C5666F7B40C861</permission_id><related_id keyed_name="FB20" type="i0205_ECUUsine"><Item type="i0205_ECUUsine" typeId="B72818AA8D7A4E6EA639D3FA3CB70103" id="02D42B388A024A8EBAFAF29E1AD43B87"><id keyed_name="FB20" type="i0205_ECUUsine">02D42B388A024A8EBAFAF29E1AD43B87</id>
<Relationships><Item type="r02xx_i0205_i0214" typeId="9E0A4AD1E1C54C998BFA33A66712D4A2" id="B134CE6C8736473B88F032D504ED7563"><behavior>fixed</behavior><config_id keyed_name="B134CE6C8736473B88F032D504ED7563" type="r02xx_i0205_i0214">B134CE6C8736473B88F032D504ED7563</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-05-11T08:40:08</created_on><generation>1</generation><id keyed_name="B134CE6C8736473B88F032D504ED7563" type="r02xx_i0205_i0214">B134CE6C8736473B88F032D504ED7563</id><is_current>1</is_current><is_released>0</is_released><keyed_name>B134CE6C8736473B88F032D504ED7563</keyed_name><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-05-11T08:40:08</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMAllReleased" type="Permission">4C3E31E80D9F481291C5666F7B40C861</permission_id><related_id keyed_name="FB20" type="i0214_ECUDiag"><Item type="i0214_ECUDiag" typeId="6628B1B80F514476BF0FE1AF338FEC30" id="BEE31C560294436FA8DBF82C45BE2976"><id keyed_name="FB20" type="i0214_ECUDiag">BEE31C560294436FA8DBF82C45BE2976</id>
<Relationships><Item type="r02xx_i0214_i0203" typeId="CB52C3B41B624142A885201F8D73DDE2" id="CF46E0DBA32F47CF94D480260DA66035"><behavior>fixed</behavior><config_id keyed_name="CF46E0DBA32F47CF94D480260DA66035" type="r02xx_i0214_i0203">CF46E0DBA32F47CF94D480260DA66035</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-05-11T08:39:44</created_on><generation>1</generation><id keyed_name="CF46E0DBA32F47CF94D480260DA66035" type="r02xx_i0214_i0203">CF46E0DBA32F47CF94D480260DA66035</id><is_current>1</is_current><is_released>0</is_released><keyed_name>CF46E0DBA32F47CF94D480260DA66035</keyed_name><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-05-11T08:39:44</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMAllReleased" type="Permission">4C3E31E80D9F481291C5666F7B40C861</permission_id><related_id keyed_name="METER METER1" type="i0203_EcuEng"><Item type="i0203_EcuEng" typeId="44885C607128403C9221B69800E613A1" id="57F2036734C44F818E86119A6E8CD060"><config_id keyed_name="METER METER1" type="i0203_EcuEng">57F2036734C44F818E86119A6E8CD060</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-04-19T14:26:38</created_on><current_state name="In Work" keyed_name="In Work" type="Life Cycle State">2A67827419A9470CADDDF379957ABFFF</current_state><generation>1</generation><id keyed_name="METER METER1" type="i0203_EcuEng">57F2036734C44F818E86119A6E8CD060</id><is_current>1</is_current><is_released>0</is_released><keyed_name>METER METER1</keyed_name><locked_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</locked_by_id><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-05-11T08:39:33</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMEngEcu" type="Permission">B392293F385449D68C98F39549EF9D9D</permission_id><state>In Work</state><_alias keyed_name="METER" type="i0221_ECUAlias">0F14694969984E2F8692860875FFBCAC</_alias><_name>METER1</_name>
<Relationships><Item type="r02xx_i0203GPHead" typeId="6A96B75BD3AB4093B355CC4A6E868BDB" id="1C88AEAFDDF641DC87ABB48777B3964B"><_ecueng keyed_name="METER METER1" type="i0203_EcuEng">57F2036734C44F818E86119A6E8CD060</_ecueng><behavior>float</behavior><config_id keyed_name="Gp20" type="r02xx_i0203GPHead">1C88AEAFDDF641DC87ABB48777B3964B</config_id><created_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</created_by_id><created_on>2022-05-09T14:31:03</created_on><generation>1</generation><id keyed_name="Gp20" type="r02xx_i0203GPHead">1C88AEAFDDF641DC87ABB48777B3964B</id><is_current>1</is_current><is_released>0</is_released><keyed_name>Gp20</keyed_name><major_rev>A</major_rev><modified_by_id keyed_name="ff ff" type="User">30B991F927274FA3829655F50C99472E</modified_by_id><modified_on>2022-05-11T08:39:33</modified_on><new_version>1</new_version><not_lockable>0</not_lockable><permission_id keyed_name="x02xx_PMEngEcu" type="Permission">B392293F385449D68C98F39549EF9D9D</permission_id><sort_order>128</sort_order><source_id keyed_name="METER METER1" type="i0203_EcuEng">57F2036734C44F818E86119A6E8CD060</source_id><_id>Gp20</_id><itemtype>6A96B75BD3AB4093B355CC4A6E868BDB</itemtype></Item></Relationships></Item></related_id><sort_order>128</sort_order><source_id keyed_name="FB20" type="i0214_ECUDiag">BEE31C560294436FA8DBF82C45BE2976</source_id></Item></Relationships></Item></related_id><sort_order>128</sort_order><source_id keyed_name="FB20" type="i0205_ECUUsine">02D42B388A024A8EBAFAF29E1AD43B87</source_id></Item></Relationships></Item></related_id><sort_order>128</sort_order><source_id keyed_name="FB20" type="i0213_AfterSales">DC2DCC728E534797BCF98CB00950F717</source_id></Item></Relationships></Item></Result></SOAP-ENV:Body></SOAP-ENV:Envelope>

.....
.....

Parents Reply Children
No Data