gokul1904
(Glory 01)
August 21, 2022, 9:11pm
1
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
PO Sample Output_01.xml (6.5 KB)
I have also attached the xml file.
Kindly help.
Regards,
Gokul
ppr
(Peter Preuss)
August 21, 2022, 10:11pm
2
we would like to remind you on the XML Namespace handling similar to your other topics
general flow:
Check and namespace handling:
Retrieval:
Getting all WID types:
Getting first one’ s value
Bank_Account:
For the other retrieval just adapt and handle it similar
gokul1904
(Glory 01)
August 22, 2022, 3:36am
3
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
ppr
(Peter Preuss)
August 23, 2022, 10:49am
4
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
system
(system)
Closed
August 29, 2022, 9:05pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.