SimpleXML and namespaces

后端 未结 3 1342
无人及你
无人及你 2020-12-07 03:02

I have following code.

 
  
   24
   6
           


        
3条回答
  •  情书的邮戳
    2020-12-07 03:39

    Try this:

     children('job', true)->location->region);  
     ?> 
    

    To check the above code in action, click here

    For more information about SimpleXml refer to this article

提交回复
热议问题