diff xsls/content.xsls @ 758:9155b937f8c1

Allow to create anchors in list items of module-type documents.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 12 Nov 2012 07:13:07 +0000
parents 7b8d659687b8
children cd73f6e9aaf3
line wrap: on
line diff
--- a/xsls/content.xsls
+++ b/xsls/content.xsls
@@ -109,6 +109,8 @@ X:stylesheet {
     }
 
     X:template = "tag-name" { <dt> !!; </dt> }
+    X:template = "tag-name[@id]" { <dt id="{@id}"> !!; </dt> }
+
     X:template = "tag-desc" { <dd> !!; </dd> }
 
     X:template = "table[@note and @width]" {