Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Ola pessoal...
Estou tentando navegar nesse XML e pegar o nome da imagem tipo "photo_1330531288098-1-0.jpg" ou seja preciso conferir esse valor, como que eu faço isso????
Notem que não é uma navegação basica, é como se eu tivesse que entrar nas propriedades do nó.
estou usando simplexml_load_file();
valeu até a proxima
<NewsComponent>
<Role FormalName="Preview"/>
<ContentItem Href="photo_1330531288098-1-0.jpg">
<MediaType FormalName="Photo"/>
<Format FormalName="JPG"/>
<Characteristics>
<SizeInBytes>24968</SizeInBytes>
<Property FormalName="Width" Value="512"/>
<Property FormalName="Height" Value="341"/>
</Characteristics>
</ContentItem>
</NewsComponent>
<NewsComponent>
<Role FormalName="Quicklook"/>
<ContentItem Href="photo_1330531288098-1-1.jpg">
<MediaType FormalName="Photo"/>
<Format FormalName="JPG"/>
<Characteristics>
<SizeInBytes>8654</SizeInBytes>
<Property FormalName="Width" Value="245"/>
<Property FormalName="Height" Value="163"/>
</Characteristics>
</ContentItem>
</NewsComponent>
<NewsComponent>
<Role FormalName="Thumbnail"/>
<ContentItem Href="photo_1330531288098-1-2.jpg">
<MediaType FormalName="Photo"/>
<Format FormalName="JPG"/>
<Characteristics>
<SizeInBytes>3061</SizeInBytes>
<Property FormalName="Width" Value="110"/>
<Property FormalName="Height" Value="73"/>
</Characteristics>
</ContentItem>
</NewsComponent>Carregando comentários...