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

index d39d30860cdafdf5d0111672041d4c39696b9d8a..a4a0ea0d9fcaf87f75fb2187f55173477e32142c 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>
             <a>