<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
hi Seb,<br>
<br>
I need to harvest an OAI server in a format other than Dublin Core
(TEF format). I can not get specific metadata with the same name. <br>
<br>
For example :<br>
...<br>
<tef:thesisAdmin><br>
<tef:auteur><br>
<b><tef:nom>nom1</tef:nom></b><br>
...<br>
<br>
and <br>
...<br>
<tef:directeurThese><br>
<b><tef:nom>nom2</tef:nom></b><br>
<tef:prenom>Carine</tef:prenom><br>
<tef:autoriteInterne>MADS_DIRECTEUR_DE_THESE_1</tef:autoriteInterne><br>
<tef:autoriteExterne
autoriteSource="Sudoc">073367826</tef:autoriteExterne><br>
</tef:directeurThese><br>
<tef:directeurThese><br>
<b><tef:nom>nom3</tef:nom></b><br>
<tef:prenom>Louise</tef:prenom><br>
<tef:autoriteInterne>MADS_DIRECTEUR_DE_THESE_2</tef:autoriteInterne><br>
<tef:autoriteExterne
autoriteSource="Sudoc">035036672</tef:autoriteExterne><br>
</tef:directeurThese><br>
...<br>
in the same record !<br>
<br>
I need to extract all this data.<br>
<br>
I tried things like :<br>
<br>
my $nom;<br>
foreach my $node ($xml->findnodes( "//auteur/nom/*" ))<br>
{<br>
$nom = $node->textContent; <br>
}<br>
<br>
but it does not work (no result)<br>
<br>
any idea ?<br>
<br>
<br>
Thanks !<br>
<br>
Jean-Marie<br>
<br>
<pre class="moz-signature" cols="72">--
***********************************************
Jean Marie Le Bechec
Service Commun de la Documentation
Responsable ingenierie documentaire
&
Direction du Systeme d'Information
Referent Etudes
Institut National Polytechnique de Toulouse
6 allee Emile Monso - bp 34038 -
31029 Toulouse cedex 4
Tel : 05 34 32 31 16
Mail : <a class="moz-txt-link-abbreviated" href="mailto:lebechec@inp-toulouse.fr">lebechec@inp-toulouse.fr</a>
***********************************************
</pre>
</body>
</html>