How to retrieve data from XML file?

Hello. How to extract domain from:
using php
The desired domain under the id 26:
<domain id="26"></domain>
So in the end, the script gave:
July 8th 19 at 15:40
1 answer
July 8th 19 at 15:42
Example xml parser in php

Find more questions by tags XML