Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse XML <link /> problem #286

Open
kubastanclik opened this issue Aug 24, 2021 · 0 comments
Open

Parse XML <link /> problem #286

kubastanclik opened this issue Aug 24, 2021 · 0 comments

Comments

@kubastanclik
Copy link

kubastanclik commented Aug 24, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant