I have XML file something like below and need to get all complex elements having different names but all ends with "_KEYS" and they are part of different segments in XML. The sample below has only 3 such elements.. but actual file has in hundreds. How to get it done in ADF
<XMLInput>
<SegmentX>
.
.
<Category_KEYS ID= 'AAAAAAA'> AAAA DESCRIPTION </Category_KEYS>
.
.
</SegmentX>
<SegmentY>
.
.
.
<Staus_KEYS ID= 'BBBBBBB'> BBB DESCRIPTION> </Status_KEYS>
.
.
.
</SegmentY>
<SegmentZ>
.
<Department_KEYS ID= 'CCCCCC'> CCCC DESCRIPTION </Department_KEYS>
.
</SegmentZ>
</XMLInput>
In fact looking for all ID's and corresponding descriptions.
**ID | VALUE**
AAAAAAA | AAAA DESCRIPTION
BBBBBBB | BBB DESCRIPTION
CCCCCC | CCCC DESCRIPTION
