Hi,
if (is_readable('../lang/ger.xml')) {
if ($xml = @simplexml_load_file('../lang/ger.xml')) {
foreach($xml->xpath('//language/description') as $child) {
$temp = $child->children()->getName();
for($i=0;$i<count($temp);$i++) {
echo $temp[$i]."<br>";
}
}
}
...
> als Ausgabe kommt hier bei mir nur das Zeichen r
Es moechte sich mit var\_dump ansehen, was sein $temp enthaelt.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“