]> granicus.if.org Git - docbook-dsssl/commitdiff
Quick hack improving support for dir attribute. However problem is much more complex...
authorJirka Kosek <jirka@kosek.cz>
Mon, 21 Feb 2005 20:57:12 +0000 (20:57 +0000)
committerJirka Kosek <jirka@kosek.cz>
Mon, 21 Feb 2005 20:57:12 +0000 (20:57 +0000)
xsl/common/l10n.xsl

index 4a9657473f45916b2e6c36fd56ebad3f82310a57..743b1868de1b3cf14c3300261cbceea40c79f6d0 100644 (file)
       <xsl:value-of select="$language"/>
     </xsl:attribute>
   </xsl:if>
+
+  <!-- FIXME: This is sort of hack, but it was the easiest way to add at least partial support for dir attribute -->
+  <xsl:copy-of select="ancestor-or-self::*[@dir][1]/@dir"/>
 </xsl:template>
 
 <xsl:template name="gentext">