From: Demian K. <dem...@vi...> - 2012-10-26 11:22:28
|
I'm not an XSLT expert by any means, so I may be wrong about the syntax or supported versions, but can you just replace "//dc:date" with "//dc:date[last()]" in the sheet to achieve the desired effect? - Demian ________________________________ From: Hugo Agud [ha...@or...] Sent: Friday, October 26, 2012 7:11 AM To: vuf...@li... Subject: [VuFind-General] dspace.xsl Dear all We are ingesting data from one dspace and we have one little challenge, the oai record include 4 diferent dc:date and we are only insterested in one of them. Our first ide is to call the dspace admin and suggest them to change the field mapping of the right date to move from dc.date to "dc.date2" and change the dspace.xsl, but I was wondering if anybody has any idea about how to configure dspace.xsl to take the info from the las dc.date field instead of the first one? Kindest Regards Hugo Agud -- Hugo Agud - Orex Digital www.orex.es<http://www.orex.es> Director Avenida Sarriá 29 · 08029 Barcelona [http://www.orex.es/images/website/templateImages/originals/Logotwitter.jpg] <http://twitter.com/OrexDigital> [http://orex.gmt.brightpearl.com/images/website/templateImages/originals/skype.jpg] [http://orex.gmt.brightpearl.com/images/website/templateImages/originals/miniblogspot.jpg] :<http://orexsl.blogspot.com> hugoaguda - Tel: 93 539 40 70 Fax: 93 539 33 30 ha...@or...<mailto:ha...@or...> · http://www.orex.es/ No imprima este mensaje a no ser que sea necesario. Una tonelada de papel implica la tala de 15 árboles y el consumo de 250.000 litros de agua. Aviso de confidencialidad Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni está autorizado a recibirlo por el remitente), no está autorizado a copiar, reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema. |