Merhaba ben bir xml dosyası örneğin tüm
<recipe>
<id>abc</id>
<name>abc</name>
<instructions>
<instruction>
<id>abc</id>
<text>abc</text>
</instruction>
<instruction>
<id>abc2</id>
<text>abc2<text>
<instruction>
<instructions>
<recipe>
i kullanmak benim php dosyasında
$url = "cafe.xml";
// get xml file contents
$xml = simplexml_load_file($url);
// loop begins
foreach($xml->recipe as $recipe)
{
code;
}
ama sadece bu yüzden nasıl talimatları alabilirsiniz tarifi id ve adını almak.