Mercurial > hg > fulltextSearchServer
view src/de/mpiwg/dwinter/fulltextSearchServer/xsl/showContentOfDocumentToHTML.xsl @ 2:eef69274ef15 default tip
bugs
author | dwinter |
---|---|
date | Wed, 26 Jan 2011 16:36:21 +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="/"> <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>