]> granicus.if.org Git - docbook-dsssl/commitdiff
Add missing closing tag for xsl:choose in new template.
authorBob Stayton <bobs@sagehill.net>
Sun, 2 Dec 2012 20:21:34 +0000 (20:21 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 2 Dec 2012 20:21:34 +0000 (20:21 +0000)
xsl/fo/inline.xsl

index 69ea0b9555c6b67355c1f525b5c152fa6b4544ca..27c054c7e1c04528978933cdfbcd840c5843e703 100644 (file)
 
   <fo:inline font-family="{$sans.font.family}">
     <xsl:choose>
-    <xsl:when test="@dir">
-      <fo:inline>
-        <xsl:attribute name="direction">
-          <xsl:choose>
-            <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
-            <xsl:otherwise>rtl</xsl:otherwise>
-          </xsl:choose>
-        </xsl:attribute>
+      <xsl:when test="@dir">
+        <fo:inline>
+          <xsl:attribute name="direction">
+            <xsl:choose>
+              <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
+              <xsl:otherwise>rtl</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+          <xsl:copy-of select="$content"/>
+        </fo:inline>
+      </xsl:when>
+      <xsl:otherwise>
         <xsl:copy-of select="$content"/>
-      </fo:inline>
-    </xsl:when>
-    <xsl:otherwise>
-      <xsl:copy-of select="$content"/>
-    </xsl:otherwise>
+      </xsl:otherwise>
+    </xsl:choose>
   </fo:inline>
 </xsl:template>