]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix syntax errors.
authorBob Stayton <bobs@sagehill.net>
Sun, 12 Nov 2006 09:14:57 +0000 (09:14 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 12 Nov 2006 09:14:57 +0000 (09:14 +0000)
xsl/html/graphics.xsl
xsl/html/xref.xsl

index 76c005988cee7c32061f123d12e57a3a12808c17..08b92c4e1275b22e3a619a0ddb0a72c8139b42d4 100644 (file)
@@ -1012,7 +1012,6 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
   </xsl:variable>
 
   <xsl:call-template name="anchor"/>
-  </xsl:if>
 
   <xsl:choose>
     <xsl:when test="@format='linespecific'">
index c8ca7d85adc122ae847cfe3bc63cbab0d88b4c45..38353b6dd17ccfa2f5074a70689c6e0bb28091ab 100644 (file)
       <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
       <xsl:variable name="id" select="(@id|@xml:id)[1]"/>
       <xsl:variable name="entry" select="$bib/bibliography/
-                                    *[@id=$id or @xml:id="$id][1]"/>
+                                    *[@id=$id or @xml:id=$id][1]"/>
       <xsl:choose>
         <xsl:when test="$entry">
           <xsl:choose>
               <xsl:apply-templates select="$entry/*[1]"/>
             </xsl:when>
             <xsl:otherwise>
-              <xsl:value-of select="(@id:@xml:id)[1]"/>
+              <xsl:value-of select="(@id|@xml:id)[1]"/>
             </xsl:otherwise>
           </xsl:choose>
         </xsl:when>
             <xsl:text> found in </xsl:text>
             <xsl:value-of select="$bibliography.collection"/>
           </xsl:message>
-          <xsl:value-of select="(@id:@xml:id)[1]"/>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
         </xsl:otherwise>
       </xsl:choose>
     </xsl:when>
           <xsl:apply-templates select="*[1]"/>
         </xsl:when>
         <xsl:otherwise>
-          <xsl:value-of select="(@id:@xml:id)[1]"/>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
         </xsl:otherwise>
       </xsl:choose>
     </xsl:otherwise>
         <xsl:apply-templates select="*[1]"/>
       </xsl:when>
       <xsl:otherwise>
-        <xsl:value-of select="(@id:@xml:id)[1]"/>
+        <xsl:value-of select="(@id|@xml:id)[1]"/>
       </xsl:otherwise>
     </xsl:choose>
     <xsl:text>]</xsl:text>