Mercurial > hg > fulltextSearchServer
annotate src/de/mpiwg/dwinter/fulltextSearchServer/xsl/showContentOfDocumentToHTML.xsl @ 0:db87c1b7eb6d
initial
author | dwinter |
---|---|
date | Wed, 03 Nov 2010 12:18:46 +0100 |
parents | |
children |
rev | line source |
---|---|
0 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <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/"> | |
3 <xsl:output method="html"></xsl:output> | |
4 <xsl:template match="/"> | |
5 <div class="numberOfPages">Found: <xsl:value-of select="//numberOfPages"/> pages</div> | |
6 | |
7 <xsl:for-each select="//page"> | |
8 <div class="foundPageXlink"> | |
9 <a><xsl:attribute name="href"><xsl:value-of select="./@xlink:href"/></xsl:attribute> | |
10 <xsl:value-of select="."/></a></div> | |
11 </xsl:for-each> | |
12 </xsl:template> | |
13 </xsl:stylesheet> |