Mercurial > hg > nginx-site
comparison xslt/link.xslt @ 605:bfdc7833085a
Regenerated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 20 Jul 2012 13:15:21 +0000 |
parents | eea23daa6e57 |
children | e7c6edbe69a7 |
comparison
equal
deleted
inserted
replaced
604:b2db67ca29cc | 605:bfdc7833085a |
---|---|
7 </img> | 7 </img> |
8 </xsl:template> | 8 </xsl:template> |
9 | 9 |
10 <xsl:template match="origin"> | 10 <xsl:template match="origin"> |
11 | 11 |
12 <a href="{document($ORIGIN)/*/@link}"> | 12 <a> |
13 | |
14 <xsl:attribute name="href"> | |
15 | |
16 <xsl:call-template name="root"> | |
17 <xsl:with-param select="$ORIGIN" name="path"/> | |
18 </xsl:call-template> | |
19 | |
20 <xsl:value-of select=" concat(substring-before($ORIGIN, '.xml'), '.html')"/> | |
21 </xsl:attribute> | |
22 | |
13 <xsl:apply-templates/> | 23 <xsl:apply-templates/> |
24 | |
14 </a> | 25 </a> |
15 </xsl:template> | 26 </xsl:template> |
16 | 27 |
17 <xsl:template match="link[@url]"> | 28 <xsl:template match="link[@url]"> |
18 | 29 |