Hi Bhavesh,
Today, I have had the same question about set proporty target="_blank"
with our repository and I found this solution that for me worked.
Taking your code, after close the <xsl: attribute name ="href"> that start
in the 3rd line you should introduce this lines
<xsl:attribute name="target">
<xsl:text>_blank</xsl:text>
</xsl:attribute>
Well, the code would be this:
*<div class="thumbnail-wrapper">*
> * <a class="image-link">*
> * <xsl:attribute name="href">*
>
> * <!-- HREF [ START ] -->*
> * <xsl:if test="@MIMETYPE = 'video/mp4' or @MIMETYPE = 'video/x-flv'"> *
> *
> <i18n:text>
http://192.168.251.220/irplayer/play.php?vLink=http://192.168.251.99:8080
> <http://192.168.251.220/irplayer/play.php?vLink=http://192.168.251.99:8080
></i18n:
text>
> *
> * <xsl:value-of select="mets:FLocat[@LOCTYPE='URL']/@xlink:href"/>*
> * </xsl:if> *
> * <!-- HREF [ END ] -->*
>
> * <xsl:if test="@MIMETYPE != 'video/mp4'"> *
> * <xsl:value-of select="mets:FLocat[@LOCTYPE='URL']/@xlink:href"/>*
> * </xsl:if> *
>
> * </xsl:attribute>*
>
* <xsl:attribute name="target">
<xsl:text>_blank</xsl:text> </xsl:attribute>*
> * <xsl:choose> *
>
> * <xsl:when test="$context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL']/*
> * mets:file[@GROUPID=current()/@GROUPID]"> *
> * <img alt="Thumbnail">*
> * <xsl:attribute name="src">*
> * <xsl:value-of
> select="$context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL']/ *
> *
>
mets:file[@GROUPID=current()/@GROUPID]/mets:FLocat[@LOCTYPE='URL']/@xlink:href"/>*
> * </xsl:attribute>*
> * </img> *
> * </xsl:when>*
>
I hope it works for you.
Regards
Geoconda.
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette