You are here: Re: php & xml questions « PHP Programming Language « IT news, forums, messages
Re: php & xml questions

Posted by Oli Filth on 11/12/62 11:18

Stefano said the following on 10/06/2005 21:40:
> I would like to get the value of a tag in an xml file, the problem is
> that, his structure is not <item>value</item> but is:
>
> <Cube>
> - <Cube time="somevalue">
> <Cube rate="the value i want to get" />
> <Cube rate="the value i want to get" />
> <Cube rate="the value i want to get" />
> and so on.....
>
> So, i have two questions, how do i get the values of the 3rd "<Cube>"
> when it is inside the tags and not ouside? and how do I choose the
> right one, having three of them?
>

See the PHP XML functions, at http://www.php.net/manual/en/ref.xml.php.
Particularly xml_set_element_handler().


--
Oli

 

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

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