On Mon, Dec 17, 2012 at 2:26 PM, helix84 <heli...@centrum.sk> wrote:
> A common problem is that the language is selected automatically, as

I meant to say it's a common misunderstanding, not actually a problem.


You can find the value of item language in any template processing the METS
document. They look like this:

<xsl:template match="dim:dim" ...>


You could also figure it out from any other template, which by default are
processing the DRI document. If this is what you need, let me know.

Here's how to find the language code and store it into a variable (this
will work from within the templatematching DIM):

<xsl:variable name="itemLanguage"
select="dim:field[@element='language'][@qualifier='iso']" />



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to