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
|
|
6 <xsl:for-each select="//hitsOnPage">
|
|
7 <div class="foundPage">
|
|
8 <a><xsl:attribute name="href"><xsl:value-of select="./@xlink:href"/></xsl:attribute>
|
|
9 <xsl:value-of select="//pageFileName"/></a></div>
|
|
10 </xsl:for-each>
|
1
|
11
|
|
12 <xsl:for-each select="//line">
|
|
13 <div class="foundPage">
|
|
14 <line><xsl:copy-of select="."/></line>
|
|
15 </div>
|
|
16 </xsl:for-each>
|
|
17
|
0
|
18 </xsl:template>
|
|
19 </xsl:stylesheet> |