Mercurial > hg > fulltextSearchServer
view src/de/mpiwg/dwinter/fulltextSearchServer/xsl/showContentOfDocumentToHTML.xsl @ 0:db87c1b7eb6d
initial
author | dwinter |
---|---|
date | Wed, 03 Nov 2010 12:18:46 +0100 |
parents | |
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="/"> <div class="numberOfPages">Found: <xsl:value-of select="//numberOfPages"/> pages</div> <xsl:for-each select="//page"> <div class="foundPageXlink"> <a><xsl:attribute name="href"><xsl:value-of select="./@xlink:href"/></xsl:attribute> <xsl:value-of select="."/></a></div> </xsl:for-each> </xsl:template> </xsl:stylesheet>