← Prev in month ← Prev in thread
Next in thread → Next in month →

AW: [docbook] RE: How to get the lang-attribute in a stylesheet?

From
Christian-Josef Schrattenthaler <>
Date
2008-02-03T21:53:29+00:00
ID
001701c866af$42cde980$c869bc80$@com
Thread
AW: [docbook] RE: How to get the lang-attribute in a stylesheet?
Hi!

 

Great, this works!

 

But now I have an other problem:
I have tos et the filename also with an extension.

 

I tried: <xsl:with-param
name="filename"
select="concat($base.dir,'jhelpset_{/book/@lang}.hs')"/>, and some
other ideas, but no one worked.

 

Can you also help me with this
problem?

 

Greetings,

Christian.

 

 

Von:
 [mailto:] 

Gesendet: Sonntag, 03. Februar 2008 19:57

An: ; 

Betreff: [docbook] RE: How to get the lang-attribute in a stylesheet?

 

I don't know if there's a variable for it, but
"/book/@lang" should work.

 

 

From:
Christian-Josef Schrattenthaler [mailto:] 

Sent: Sunday, February 03, 2008 9:43 AM

To: 

Subject: How to get the lang-attribute in a stylesheet?

Hi!

 

I have startet to change the javahelp.xsl, to fit the
version 2.0. Now I want to read the lang-attribute, I set in the Docbook file
by <book lang=“de“>.

 

I can get the title with $title, but I didn’t find some
information about the other available variables from my DocBook file.

 

Thanks and greetings,

Christian.
← Prev in month ← Prev in thread
Next in thread → Next in month →