]> granicus.if.org Git - docbook-dsssl/commitdiff
Replaced <a> elements with warning messages (textinsert extension).
authorMauritz Jeanson <mj@johanneberg.com>
Sat, 13 Sep 2008 16:06:56 +0000 (16:06 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Sat, 13 Sep 2008 16:06:56 +0000 (16:06 +0000)
xsl/html/graphics.xsl

index 26344ddbb9364885d1cebfc4c613111209909fc7..c7a41457b7620bfa872c7b0eba5c1b7862fa43dc 100644 (file)
@@ -1091,9 +1091,11 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
           </xsl:choose>
         </xsl:when>
         <xsl:otherwise>
-          <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
-             href="{$filename}"/>
-        </xsl:otherwise>
+         <xsl:message terminate="yes">
+           <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/>
+           <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text> 
+         </xsl:message>
+       </xsl:otherwise>
       </xsl:choose>
     </xsl:when>
     <xsl:otherwise>
@@ -1437,8 +1439,10 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
       </xsl:choose>
     </xsl:when>
     <xsl:otherwise>
-      <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
-         href="{$filename}"/>
+      <xsl:message terminate="yes">
+       <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/>
+       <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text> 
+      </xsl:message>
     </xsl:otherwise>
   </xsl:choose>
 </xsl:template>