Get xml attribute value and descriptor values

Hello team ,

I want to extract below 6 values from the attached xml .I tried many ways but could not derive a solution.

PO-00001234
eae312ffafafa
USD 3300739100
USD IE38BOFA99006156171047
1905.33
19322133

I have highlighted the positions from where they have to be taken below



image

PO Sample Output_01.xml (6.5 KB)

I have also attached the xml file.
Kindly help.

Regards,
Gokul

we would like to remind you on the XML Namespace handling similar to your other topics

general flow:
grafik

Check and namespace handling:
grafik

Retrieval:
grafik

Getting all WID types:


Getting first one’ s value

Bank_Account:
grafik

For the other retrieval just adapt and handle it similar

Thank you ppr.
Should the variable type for all the above queries be “XElement”?

Also the usecase is I want to extract a list of all the bank accounts from the xml which is under -

In this case there are 2 bank accounts.So what should be the query to fetch all the bank accounts from a specific xml.Can you please guide me on that too?

Regards,
Gokul

it depends on what you have implemented.

for element retrieval, the base is XElement or the appropriate collection type
for value retrieval the appropriate datatype: string, number…

we showcased the for this Descendants() method as one of several options

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.