By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,830 Members | 2,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,830 IT Pros & Developers. It's quick & easy.

Extract metadata from an xml

P: n/a
The below xml is generated when I make a remote call like:

$url = "http://......./oai?
$input = @file_get_contents($url) or die('Could not access file:
echo $input;
How can I extract only
<resumptionToken completeListSize="14" cursor="0">set+UITO+cls

and put it in a variable?

Thanks in advance.

<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xmlns=""
<resumptionToken completeListSize="14" cursor="0">set+UITO+cls
Feb 14 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.