473,769 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Extract metadata from an xml

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

?php
$url = "http://......./oai?
verb=ListRecord s&metadataPrefi x=frida&set=UUI ";
$input = @file_get_conte nts($url) or die('Could not access file:
$url');
echo $input;
?>
How can I extract only
<resumptionToke n completeListSiz e="14" cursor="0">set+ UITO+cls
+14+cursor+3+la st+110547</resumptionToken >

and put it in a variable?

Thanks in advance.
Ofuuzo

----------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xmlns="http://www.openarchive s.org/OAI/2.0/"
xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
schemaLocation= "http://www.openarchive s.org/OAI/2.0/
http://www.openarchive s.org/OAI/2.0/OAI-PMH.xsd">
<responseDate>2 008-02-14T12:41:33Z</responseDate>
.....
......
</record>
<resumptionToke n completeListSiz e="14" cursor="0">set+ UITO+cls
+14+cursor+3+la st+110547</resumptionToken >
</ListRecord>
</OAI-PMH>
Feb 14 '08 #1
0 1091

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4038
by: Useko Netsumi | last post by:
Does anyone aware of any program/apps/scripts that has the ability to modify/add/create/delete metadata in any image type such as JPEG, GIF, PNG, etc. Question for the experts, is it wise to store information in the image file instead of the database? Thanks
1
8708
by: Santhu | last post by:
What is the difference between METADATA and MANIFEST and where do they get stored? Thank you
0
1278
by: Shakil Khan | last post by:
Hi there ... My question is about Meta Data which is automatically saved with files. For example,when an MS Office Documents is saved, it automaticaly save some extra information with the file such as Author, Title, Description. Whenever we see the list of files in normal windows explorer, it will show you the meta data as well without even opening that file. Similarly when you Right-Click on a zip file to check its file properties , It...
2
2528
by: Tomas Vera | last post by:
Hello All (This is being cross-posted to the C++ group), I've started receiving the subject message during a compile of a C++ based interface module used in my C# based WebApp. This module exposes some functions from our main Windows DLL to my web app. I get the same error message whether I compile from the IDE or from our normal command line based build process. What database file does the message refer to?
2
5239
by: GoodDay | last post by:
MC++ application, I've got "LNK2022 error message... MyApp error LNK2022: metadata operation failed (8013118D) : Inconsistent method declarations in duplicated types(CMainFramel). (0x02000008). It seems to be some my struct type have a "#pragma pack (push, 1)". Delete that #pragma keywords. Solve the LNK2022 problem. But why? That "#pragma ..." line make the problem and what's the meaning of two value (8013118D, 0x02000008). It seem to...
1
11995
by: Laurent Lequenne | last post by:
Hello There, I just converted a VS 2003 C++ Project into VS 2005. I already made some changes in my headers files, has I had compilations errors with enums declarations. Now everything compiles and I got errors at the link as shown below. If anyone could help me to get that thing compiled, he's welcome :-))) Thanks,
2
8800
by: EP | last post by:
I'm looking for a method by which to access Windows files metadata and have not been able to find anything in the standard modules or via Google - what is the standard approach? Shamefully I really do not understand Windows file system - e.g. is properties metadata attached to the file? if I change that metadata do I change the file's hash? how is the metadata structured? or is the "properties" metadata simply derived upon access? ...
1
2241
by: toggy | last post by:
Hi all, I am a relative novice to programming and just finding my way around VB express. I do this just out of personal interest and struggle to find projects to code any learning i have achieved is my browsing the web and incorporating this into my programs. Anyway, what i currently want to do, is to extract the metadata from my photo collection (mostly JPG's) and store them into a database preferably access. I have currently...
8
2771
by: Roobmeister | last post by:
Hello, I have hundreds of queries that I need metadata for. I am looking for an application or tool that I can use that will put the following information from an Oracle SQL SELECT statement into a .csv or text file: Expressions (ie TO_CHAR(fieldname)) Column Names Table Names
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.