Hallo,
wie sieht die xml aus? und was willst du haben?
das wiird ausgegeben:
SimpleXMLElement Object ( [0] => 1262322000 ) SimpleXMLElement Object ( [0] => 1262325600 ) SimpleXMLElement Object ( [0] => 2010-01-01 05:00 ) SimpleXMLElement Object ( [0] => 2010-01-01 06:00 ) SimpleXMLElement Object ( [0] => 24 ) SimpleXMLElement Object ( [0] => 85 ) SimpleXMLElement Object ( [0] => 16.7 ) SimpleXMLElement Object ( [@attributes] => Array ( [value] => 06:00 ) [du] => 1262322000 [d] => 1262325600 [dhu] => 2010-01-01 05:00 [dhl] => 2010-01-01 06:00 [p] => 5 [pc] => 85 [tn] => -3 [tx] => -3 [ws] => 16.7 ) SimpleXMLElement Object ( [@attributes] => Array ( [value] => 11:00 ) [du] => 1262340000 [d] => 1262343600 [dhu] => 2010-01-01 10:00 [dhl] => 2010-01-01 11:00 [p] => 6 [pc] => 85 [tn] => -3 [tx] => -3 [ws] => 14.8 ) SimpleXMLElement Object ( [@attributes] => Array ( [value] => 17:00 ) [du] => 1262361600 [d] => 1262365200 [dhu] => 2010-01-01 16:00 [dhl] => 2010-01-01 17:00 [p] => 6 [pc] => 80 [tn] => -3 [tx] => -3 [ws] => 13 ) SimpleXMLElement Object ( [@attributes] => Array ( [value] => 23:00 ) [du] => 1262383200 [d] => 1262386800 [dhu] => 2010-01-01 22:00 [dhl] => 2010-01-01 23:00 [p] => 7 [pc] => 85 [tn] => -3 [tx] => -2 [ws] => 13 )
SimpleXMLElement Object ( [0] => 1262340000 ) SimpleXMLElement Object ( [0] => 1262343600 ) SimpleXMLElement Object ( [0] => 2010-01-01 10:00 ) SimpleXMLElement Object ( [0] => 2010-01-01 11:00 ) SimpleXMLElement Object ( [0] => 6 ) SimpleXMLElement Object ( [0] => 85 ) SimpleXMLElement Object ( [0] => -3 ) SimpleXMLElement Object ( [0] => -3 ) SimpleXMLElement Object ( [0] => 14.8 )
und ich möchte jeweils nur z.b. aus dem ersten block den inhalt von [tx] haben.