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: 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: tom_schr@web.de [mailto:tom_schr@web.de] 
Gesendet: Sonntag, 03. Februar 2008 18:47
An: docbook@lists.oasis-open.org
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: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org



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