find value in nested tag in xml with php We have used xpath to find out a tags value inside nested xml document. Example as : XML in php July 18, 2013