Yani bu kodu vardır:
        foreach ($xml->PrintQuestion as $PrintQuestion) {
             //if hint doesn't exist, store question id
             if (!$PrintQuestion->content->multichoice->feedback->hint->Passage) {
                 fwrite($fp, "<contentid filename=\"$value\">" . $PrintQuestion->attributes()->id . "</contentid>");
             }
        }
Temelde, ben Passage düğüm varsa, bir xml dosyasına kimlikleri kurtarmaya çalışıyorum, ama bu düğümleri Pasajı içinde veya mevcut olmadığını her kimliğini saklamak gibi görünüyor