← Prev in month ← Prev in thread

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

From
Christian-Josef Schrattenthaler <>
Date
2008-02-03T18:13:13+00:00
ID
002e01c86690$81739aa0$845acfe0$@com
Thread
AW: [docbook] How to get the lang-attribute in a stylesheet?
Hi Tom!

Sorry, I am not good with stylesheets. I didn't need them, bevore I worked with DocBook.

I tried:

<presentation xml:lang="xsl:value-of select='@lang'" default="true" displayviews="true" displayviewimages="true">

But this didn't work.

Can you please give me a hint?

Thanks,
Christian.


-----Ursprüngliche Nachricht-----
Von:  [mailto:] 
Gesendet: Sonntag, 03. Februar 2008 18:47
An: 
Betreff: Re: [docbook] How to get the lang-attribute in a stylesheet?

Hi Christian,

On Sonntag, 3. Februar 2008, Christian-Josef Schrattenthaler wrote:
>
> 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.


Did you try the XPath "@lang" in your respective template?


Bye,
Tom


-- 
Thomas Schraitle

---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: 
← Prev in month ← Prev in thread