Mercurial > hg > nginx-site
diff xsls/body.xsls @ 604:b2db67ca29cc
Made a link to original relative.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 20 Jul 2012 13:14:50 +0000 |
parents | 89a4e934d207 |
children | a8f7b93b0a5f |
line wrap: on
line diff
--- a/xsls/body.xsls Fri Jul 20 13:03:52 2012 +0000 +++ b/xsls/body.xsls Fri Jul 20 13:14:50 2012 +0000 @@ -39,8 +39,10 @@ <tr><td valign="top"> - X:if "$ORIGIN and document($ORIGIN)/*/@rev and - (not(@rev) or @rev != document($ORIGIN)/*/@rev)" { + X:if "$ORIGIN and document(concat($XML, '/', $ORIGIN))/*/@rev and + (not(@rev) or + @rev != document(concat($XML, '/', $ORIGIN))/*/@rev)" + { <span> X:if "@lang = 'he'" { X:attribute "class" { X:text{ltr} } }