|
|||
|
Hi,
I use Zend/Rest/Client to call an API. I get a XML-File as result. No problem to get values from a node, but how can I get an attribute? Example: <who id="foo"> <tags> <tag count="10">bar</tag> <tag count="10">bar1</tag> </tags> </who> $tagstring = $result->who(); results in (bar,bar1) But how do I get "count" to work with it? THANKS Sebastian |
![]() |
| Thread Tools | |
| Display Modes | |
|
|