]> granicus.if.org Git - docbook-dsssl/commitdiff
In simple.xlink, rearrange order of processing.
authorBob Stayton <bobs@sagehill.net>
Sat, 21 Mar 2009 07:46:57 +0000 (07:46 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 21 Mar 2009 07:46:57 +0000 (07:46 +0000)
xsl/fo/inline.xsl

index 77629dca8def88ad678efb2b5938397d4d67a98d..31dab77126945a1ffbed4ac963299a4cfd02171f 100644 (file)
       </xsl:variable>
 
       <xsl:choose>
+        <xsl:when test="$is.olink = 1">
+          <xsl:call-template name="olink">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:when>
+
         <xsl:when test="$is.idref = 1">
 
           <xsl:variable name="idref">
           </xsl:choose>
         </xsl:when>
 
-        <xsl:when test="$is.olink = 1">
-          <xsl:call-template name="olink">
-            <xsl:with-param name="content" select="$content"/>
-          </xsl:call-template>
-        </xsl:when>
-
         <!-- otherwise it's a URI -->
         <xsl:otherwise>
           <fo:basic-link external-destination="url({$xhref})">