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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Sonntag, 03. Februar 2008 18:47
An: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to