]> granicus.if.org Git - docbook-dsssl/commitdiff
Add element name to warning message for nested links.
authorBob Stayton <bobs@sagehill.net>
Fri, 17 Jan 2014 23:25:14 +0000 (23:25 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 17 Jan 2014 23:25:14 +0000 (23:25 +0000)
xsl/fo/inline.xsl

index 075ff8399014ba0f868c6a7f2c3056ea5f7610b1..ae559fa324c987354f0da01e4ee586711d4a8470 100644 (file)
@@ -34,6 +34,9 @@
   <xsl:if test="$node/ancestor::*[@xlink:href or @linkend]">
     <xsl:message>
       <xsl:text>WARNING: nested link may be undefined in output: </xsl:text>
+      <xsl:text>&lt;</xsl:text>
+      <xsl:value-of select="name($node)"/>
+      <xsl:text> </xsl:text>
       <xsl:choose>
         <xsl:when test="$linkend">
           <xsl:text>@linkend = '</xsl:text>