Hi John -
You may be able to get at the file description by using this expression:
mets:floc...@loctype='URL']/@xlink:label
wherever you were using @SIZE to get the filesize. Here's an example:
<xsl:if test="mets:floc...@loctype='URL']/@xlink:label">
<xsl:value-of select="mets:floc...@loctype='URL']/@xlink:label" />
</xsl:if>
Try this out and let us know.
You can often figure this sort of thing out by looking at the mets.xml
document for an item and then playing around until you get the correct
expression. Here's xml for an item with files and associated descriptions:
http://drcdev.ohiolink.edu/metadata/handle/123456789/1574/mets.xml
--
Keith Gilbertson
Systems Developer
OhioLINK
John Preston wrote:
> I'm trying out manakin and want to be able to display the bitstream
> description instead of format in the file list. I have everything I
> need copied into my theme, but I can't seem to figure out what I
> should use to get atb the description field. I see where @SIZE is
> size, @MIMETYPE is mimetype, etc, but @DESCRIPTION does not seem to work.
>
> John
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> ------------------------------------------------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech