我怎么能得到的值从php数组



我想采取字段,如ResumeParsingStartDate, ResumeParsingExpiryDate, MaxLimitOfParsedResume, NumberOfParsedResume

如何在php中获取这些值

这是Eval链接

这是我的数组

下面是更新后的代码:

注意:由于stackoverflow的编辑器只允许30,000个字符,字符有35,000个字符,无论如何我都无法减少它

您可以像这样获得单个记录:

    $url = 'http://recruitplushrxmlapidemo.onlineresumeparser.com/hrxml/149Anne%20Marie%20Powell.xml';
    $sxml = simplexml_load_file($url);
    echo 'ResumeParsingStartDate --> '.$sxml->ResumeAdditionalItems->ResumeAdditionalItem[1]->ResumeParsingStartDate;        
    echo "<br />";
    echo 'ResumeParsingExpiryDate --> '.$sxml->ResumeAdditionalItems->ResumeAdditionalItem[1]->ResumeParsingExpiryDate;        
    echo "<br />";
    echo 'NumberOfParsedResume --> '.$sxml->ResumeAdditionalItems->ResumeAdditionalItem[1]->NumberOfParsedResume;        
    echo "<br />";
    echo 'MaxLimitOfParsedResume --> '.$sxml->ResumeAdditionalItems->ResumeAdditionalItem[1]->MaxLimitOfParsedResume;        
    echo "<br />";

对重复元素使用循环

相关内容

  • 没有找到相关文章

最新更新