[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] different lang attributes in an article
Hi, What you expected is correct and what you got is wrong. It is a bug that was introduced in 1.66.1. I just checked in the fix for it, so it should be in 1.67.1. Or you can try the snapshot distribution from CVS Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Bernhard Kohl" <kohl@hbz-nrw.de> To: <docbook-apps@lists.oasis-open.org> Sent: Thursday, November 18, 2004 6:19 AM Subject: [docbook-apps] different lang attributes in an article > Hi, > > I did run into a problem with lang attributes when > converting a docbook article to HTML. > > The article is written in German language but there a two > abstracts: one in German and the other one in English. > > <article lang="de"> > ... > <articleinfo> > ... > <abstract lang="de">...</abstract> > <abstract lang="en">...</abstract> > > > Now, what I expected to see in HTML was: > > Zusammenfassung > ... > > > Absctract > ... > > > Nope. What is generated looks like this: > > Zusammenfassung > ... > > > Zusammenfassung > ... > > > After some trial I found that omitting the explicit language > attribute from the article tag and setting > > <xsl:param name="l10n.gentext.default.language" select="'de'"/> > > will produce the desired output in different languages. > > But obvious this is not my preferred solution as it requires > to keep the base language information outside of an article. > I'd prefer to keep the language information within each > article. > > Is this the intended way docbook xslt 1.66 stylesheets do > work or am I missing something? > > Any hints appreciated and thanks in advance. > > > Bernhard Kohl > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]