diff options
Diffstat (limited to 'xslt/docbook/html/db2html-classsynopsis.xsl')
-rw-r--r-- | xslt/docbook/html/db2html-classsynopsis.xsl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xslt/docbook/html/db2html-classsynopsis.xsl b/xslt/docbook/html/db2html-classsynopsis.xsl index fd3e4f9..88eb506 100644 --- a/xslt/docbook/html/db2html-classsynopsis.xsl +++ b/xslt/docbook/html/db2html-classsynopsis.xsl @@ -74,6 +74,20 @@ REMARK: Describe this param not(self::titleabbrev) and not(self::attribution) ])"/> <div> + <xsl:choose> + <xsl:when test="@lang"> + <xsl:attribute name="dir"> + <xsl:call-template name="l10n.direction"> + <xsl:with-param name="lang" select="@lang"/> + </xsl:call-template> + </xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="dir"> + <xsl:text>ltr</xsl:text> + </xsl:attribute> + </xsl:otherwise> + </xsl:choose> <xsl:attribute name="class"> <xsl:text>block synopsis </xsl:text> <xsl:value-of select="local-name(.)"/> |