Rouven: Anzahl Elemente in XML File

Beitrag lesen

Hello,

$num = count($XMLcontent->Data);

soweit ich das sehe hätte dein PHP dir hier bei entsprechender Einstellung eine Warning ausgeben sollen - Data ist als Wurzelelement des XML-Dokuments NICHT Teil der Ergebnisstruktur.

MfG
Rouven

--
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
Friendships are like back yard gardens. We always mean to tend to them, we just seem to put to put them off until next week.  --  Christian Clemenson as Jerry Espenson in Boston Legal: "Patriot Acts"