Get XML node value using the name attribute

Hello!

I have to exact the value highlighted with blue in the image without using the foreach and using the name attribute, that AmountAfterDiscount.
Do you have any suggetsion?
Thank you!