diff xsls/content.xsls @ 1684:ac9fa096b685

Added the module/para/@id attribute.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 13 Apr 2016 09:09:01 +0300
parents cd73f6e9aaf3
children 364a04c4f761
line wrap: on
line diff
--- a/xsls/content.xsls	Tue Apr 12 14:26:10 2016 +0000
+++ b/xsls/content.xsls	Wed Apr 13 09:09:01 2016 +0300
@@ -30,6 +30,11 @@
         !!;
     }
 
+    X:template = "para[@id]" {
+        <a name="{@id}" />
+        <p> !!; </p>
+    }
+
     X:template = "para" { <p> !!; </p> }
 
     X:template = "para[@align]" { <p align="{@align}"> !!; </p> }