Mercurial > hg > nginx-site
comparison xslt/link.xslt @ 601:eea23daa6e57
Regenerated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 20 Jul 2012 09:28:18 +0000 |
parents | 2a061496979a |
children | bfdc7833085a |
comparison
equal
deleted
inserted
replaced
600:89a4e934d207 | 601:eea23daa6e57 |
---|---|
3 | 3 |
4 <xsl:template match="img"> | 4 <xsl:template match="img"> |
5 <img src="{@href}"> | 5 <img src="{@href}"> |
6 <xsl:apply-templates/> | 6 <xsl:apply-templates/> |
7 </img> | 7 </img> |
8 </xsl:template> | |
9 | |
10 <xsl:template match="origin"> | |
11 | |
12 <a href="{document($ORIGIN)/*/@link}"> | |
13 <xsl:apply-templates/> | |
14 </a> | |
8 </xsl:template> | 15 </xsl:template> |
9 | 16 |
10 <xsl:template match="link[@url]"> | 17 <xsl:template match="link[@url]"> |
11 | 18 |
12 <a href="{@url}"> | 19 <a href="{@url}"> |