I have XML in this format
<hotels>
<hotel>
<id>285</id>
<name>Alexander</name>
<price>250 USD</price>
</hotel>
<hotel>
<id>678</id>
<name>Hilton</name>
<price>480 USD</price>
</hotel>
</hotels>
How do i get the name of hotel where id is 678 by using PHP?