Parse XML <link /> problem
kubastanclik opened this issue · 0 comments
kubastanclik commented
Hello i cant handle this, i got Google Mechant Center XML and i cant get url from tags .
XML:
<link>https://example.com/demo/1</link>
PHP:
forEach( $result as $r ) {
echo $r->find('link')->innerText;
}
and i got:
<link />
where do i go wrong?
Best regards