diff xsls/link.xsls @ 52:666e85596e3c

Added support for <link url="..."> which should eventually replace <a href="..."> and renamed <http-error> to <http-status>.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 03 Oct 2011 11:56:50 +0000
parents 2bcfb5f75e06
children 12f1de4539b4
line wrap: on
line diff
--- a/xsls/link.xsls	Mon Oct 03 10:59:42 2011 +0000
+++ b/xsls/link.xsls	Mon Oct 03 11:56:50 2011 +0000
@@ -64,4 +64,6 @@
 
 X:template = "img" { <img src="{@href}"> !!; </img> }
 
+X:template = "link[@url]" { <a href="{@url}"> !!; </a> }
+
 }