Mercurial > hg > fulltextSearchServer
diff src/de/mpiwg/dwinter/fulltextSearchServer/xsl/processRestPathOfDocumentToHTML.xsl @ 0:db87c1b7eb6d
initial
author | dwinter |
---|---|
date | Wed, 03 Nov 2010 12:18:46 +0100 |
parents | |
children | 83e9a828e794 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/de/mpiwg/dwinter/fulltextSearchServer/xsl/processRestPathOfDocumentToHTML.xsl Wed Nov 03 12:18:46 2010 +0100 @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet version="1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://dublincore.org/documents/dcmi-namespace/"> +<xsl:output method="html"></xsl:output> + <xsl:template match="/"> + + <xsl:for-each select="//hitsOnPage"> + <div class="foundPage"> + <a><xsl:attribute name="href"><xsl:value-of select="./@xlink:href"/></xsl:attribute> + <xsl:value-of select="//pageFileName"/></a></div> + </xsl:for-each> + </xsl:template> +</xsl:stylesheet> \ No newline at end of file