I'm stuck parsing this label with SimpleXML PHP.
This is my file:
<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>
And I want to parse name content on cpe-23:cpe23-item.
This is my code for now:
foreach ($xml->{'cpe-item'} as $cpe) {
echo $cpe->children('cpe-23', TRUE) // This is the line I have to modify
}
Thanks in advantage!
No comments:
Post a Comment