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: Re: [docbook-apps] synop.xsl addition

You code looks ok.  Perhaps it is somehow not being included in your 
processing.  Try commenting out the $language='cpp' clause and see if cpp 
still works.  If it does, then your code isn't being used for some reason.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Jeroen Ruigrok van der Werven" <asmodai@in-nomine.org>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, July 31, 2007 2:14 AM
Subject: [docbook-apps] 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" 

Using language="lua" gives me 'Unrecognized language on methodsynopsis: 
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

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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