OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: synop.xsl addition


I'm trying to extend synop.xsl so that I can specify language on

I am a bit stumped by the following:

    <xsl:when test="$language='java' or $language='Java'">
      <xsl:apply-templates select="." mode="java"/>
    <xsl:when test="$language='perl' or $language='Perl'">
      <xsl:apply-templates select="." mode="perl"/>
    <xsl:when test="$language='idl' or $language='IDL'">
      <xsl:apply-templates select="." mode="idl"/>
    <xsl:when test="$language='cpp' or $language='c++' or $language='C++'">
      <xsl:apply-templates select="." mode="cpp"/>
    <xsl:when test="$language='lua' or $language='Lua'">
      <xsl:apply-templates select="." mode="lua"/>
        <xsl:text>Unrecognized language on </xsl:text>
        <xsl:value-of select="local-name(.)"/>
        <xsl:text>: </xsl:text>
        <xsl:value-of select="$language"/>
      <xsl:apply-templates select=".">
        <xsl:with-param name="language" select="$default-classsynopsis-language"/>

Using language="lua" gives me 'Unrecognized language on methodsynopsis: lua',
but when I use cpp it works.
I must not be seeing something very simple, so any help is appreciated. :)

Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Sleep tonight, sweet summer light, scattered yesterdays, the past is far

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]