SimpleXML PHP로이 라벨을 구문 분석하지 못했습니다. PHP 구문 분석 <cpe-23 : cpe23-item name = "...">?
이
내 파일입니다<cpe-item name="cpe:/a:%240.99_kindle_books_project:%240.99_kindle_books:6::">
<cpe-23:cpe23-item name="cpe:2.3:a:\*:*:*:*:*:*:*:*:*:*"/>
</cpe-item>
그리고 cpe23에 이름 콘텐츠를 구문 분석 할 : cpe23-항목을 선택합니다.
이 지금은 내 코드입니다 : 접두사 cpe-23:
와 네임 스페이스
foreach ($xml->{'cpe-item'} as $cpe) {
echo $cpe->children('cpe-23', TRUE) // This is the line I have to modify
}