title: How to dynamically extract data from XML in PHP?
body: <p>I have a string variable, containing XML data and I was wondering if there is an easy way to extract fields and data from the file. Through an iterative <strong>generic</strong> way, without specifying name of the tags in the code.</p>