comparison xsls/link.xsls @ 57:12f1de4539b4

Initial English translation of ngx_http_core_module.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 03 Oct 2011 16:23:44 +0000
parents 666e85596e3c
children 56457a474903
comparison
equal deleted inserted replaced
56:b706454b2ab8 57:12f1de4539b4
64 64
65 X:template = "img" { <img src="{@href}"> !!; </img> } 65 X:template = "img" { <img src="{@href}"> !!; </img> }
66 66
67 X:template = "link[@url]" { <a href="{@url}"> !!; </a> } 67 X:template = "link[@url]" { <a href="{@url}"> !!; </a> }
68 68
69 X:template = "link[@id and not(@doc)]" { <a href="#{@id}"> !!; </a> }
70
71 X:template = "link[@doc and not(@id)]" {
72 <a href="{substring-before(@doc, '.xml')}.html"> !!; </a>
69 } 73 }
74
75 X:template = "link[@id and @doc]" {
76 <a href="{substring-before(@doc, '.xml')}.html#{@id}"> !!; </a>
77 }
78
79 }