You are here: Impossible to list attributes of xml-element? « PHP « IT news, forums, messages
Impossible to list attributes of xml-element?

Posted by Victor Sp�ng Arthursson on 05/26/05 13:05

Ciao!

I'm selecting an element in the xml using xpath. I know there is only
one element matching the xpath-query, but still I get the result as a
list. Nevermind.

This list is of the type domnodelist, on which only one action is
allowed: item()

Selecting [xpath-result]->item(0) gives me the only element in the
result in the form of a domelement. This domelement should have a lot
of attributes, but I cant find no way to get some kind of list over
those attributes, to work further with.

Could someone please point me in the same direction?

Sincerely

Victor

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация