|
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]
|