On Sun, 2009-11-29 at 13:20 +0200, mailme wrote: > Merhaba arkadaşlar.Herkese mutlu bayramlar.. > Hemen soruma geçeyim. PHP ile bu tarz bir xml nasıl parse edilir? > <node> ksdfjsdf </node> tarzı xml leri parse edebiliyorum fakat bu > biraz değişik. şimdiden teşekkürler.... > > > > <report value="191062990"> > <location city="762777" city name="example"> > > > <forecast day = "1" day_of_week="6" daylight="D"date="060801" > high_temp="24.78" low_temp="14.51" sky_desc="3"precip_desc="*" > temp_desc="8" air_desc="*" uv_index="7"wind_speed="18.51" > wind_dir="270" humidity="48" dew_point="12.01"comfort="25. > 28" rainfall="*" snowfall="*" precip_prob="0" icon="2" /> > > <forecast day = "2" day_of_week="7" daylight="D"date="060901" > high_temp="20.34" low_temp="13.68" sky_desc="1"precip_desc="*" > temp_desc="7" air_desc="20" uv_index="7"wind_speed="18.51" > wind_dir="270" humidity="57" dew_point="9.23"comfort="19.23" > rainfall="*" snowfall="*" precip_prob="2" icon="1" /> > > > </location> > </report>
SimpleXML'i incelediniz mi? http://php.net/manual/en/book.simplexml.php Kolaylıklar. -- Ali Rıza Keleş _______________________________________________ Linux-programlama mailing list [email protected] http://liste.linux.org.tr/mailman/listinfo/linux-programlama Liste kurallari: http://liste.linux.org.tr/kurallar.php
