From aa3c5628d85ceec6773ec8b6dbb3c3083a25ff4f Mon Sep 17 00:00:00 2001
From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 4 Apr 2005 13:26:29 +0000
Subject: [PATCH] Support xml:id in anchor

---
 xsl/html/html.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xsl/html/html.xsl b/xsl/html/html.xsl
index 4fdf9833b..2b21cdeff 100644
--- a/xsl/html/html.xsl
+++ b/xsl/html/html.xsl
@@ -20,7 +20,7 @@
       <xsl:with-param name="object" select="$node"/>
     </xsl:call-template>
   </xsl:variable>
-  <xsl:if test="$conditional = 0 or $node/@id">
+  <xsl:if test="$conditional = 0 or $node/@id or $node/@xml:id">
     <a name="{$id}"/>
   </xsl:if>
 </xsl:template>
-- 
2.40.0