Reading Data from XML

Hi All,

I am getting following type of XML response from API.

<?xml version='1.0' encoding='UTF-8'?>

<S:Envelope xmlns:env=“XYZ”>
< env:Header >
<headerinfo:info xmlns:headerinfo=“abc.com.xyz”>
<headerinfo:user >Test</headerinfo:user>
<headerinfo:created >2020-09-07</headerinfo:created>
</headerinfo:info>
</env:Header>
<S:Body>
Test
A234
</S:Body>
</S:Envelope>

Can any one help me how to get the user details in Headerinfo section & body section.

Thanks,
Vinay