Hi everyone
Please excuse my xsl-newbiness. In DIM-Handler.xsl, full item view, I would
like to show only some of the fields. I have the following statements there:

 <xsl:template match="dim:field" mode="itemDetailView-DIM">

        <xsl:if test="not(@element='description' and
@qualifier='provenance') and not(@element='date' and
@qualifier='accessioned') and not(@element='date' and
@qualifier='available') and not(@element='identifier' and
@qualifier='uri')">

The first one was there to begin with and picks all fields. The other one,
I added to filter out some of the fields. However, with this solution, one
can't rely on the position() function to use different styles for odd and
even rows.
My question is, how does one combine a logical test on element and
qualifier values with the match attribute in xsl:template match?

Thanks and best regards

-- 
Muhammad Saqib Ilyas
PhD Student, Computer Science and Engineering
Lahore University of Management Sciences
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to