|
|
|
|
|
|
|
<xsl:stylesheet version="1.0" xmlns:s="http://www.w3.org/2001/sw/DataAccess/rf1/result" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
<!-- simple list view for a itql query that looks queries for $object and $title only -->
|
|
|
|
<xsl:template match="/">
|
|
|
|
<xsl:variable name="BASEURL">
|
|
|
|
<xsl:value-of select="$baseUrl"/>
|
|
|
|
</xsl:variable>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<xsl:for-each select="/s:sparql/s:results/s:result">
|
|
|
|
<xsl:variable name="pid" select="substring-after(s:object/@uri, '/')"/>
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<a>
|
|
|
|
<xsl:attribute name="href">
|
|
|
|
<xsl:value-of select="$BASEURL"/>
|
|
|
|
<xsl:text>/fedora/repository/</xsl:text>
|
|
|
|
<xsl:value-of select="$pid"/>/-/
|
|
|
|
<xsl:value-of select="s:title"/>
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:value-of select="s:title"/>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
</li>
|
|
|
|
</xsl:for-each>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|