| Posted by Bzdziul on 06/14/43 11:18 
Użytkownik "Malcolm Dew-Jones" <yf110@vtn1.victoria.tc.ca> napisał wwiadomości news:42aa274b@news.victoria.tc.ca...
 > The simplist way is to use a global variable.
 
 /me thinks that better would be any static variable, but "de gustibus non
 disputantum est".
 
 To author of the topic: i'd use XPath expresion it's easy. how?
 
 eg.
 $dom=domxml_open_mem($xml);
 $xpath = xpath_new_context(&$this->dom);
 $result=xpath_eval($xpath,'/cube/cube/cube/@rate');
 print $result[0]->value;
 [Back to original message] |