Mercurial > hg > fulltextSearchServer
view src/de/mpiwg/dwinter/fulltextSearchServer/xsl/processRestPathOfDocumentToHTML.xsl @ 1:83e9a828e794
Version mit integrierter Suche ?ber XML-Volltexte
author | dwinter |
---|---|
date | Wed, 26 Jan 2011 14:41:34 +0100 |
parents | db87c1b7eb6d |
children |
line wrap: on
line source
<?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:for-each select="//line"> <div class="foundPage"> <line><xsl:copy-of select="."/></line> </div> </xsl:for-each> </xsl:template> </xsl:stylesheet>