Hi Jirka,
thanks for your response. I tried it with my
stylesheet including profile-docbook.xsl and
<xsl:param name="profile.lang">de</xsl:param> as you
recommend.
And with the same <copyright> I already posted.
The result is the same both 'en' and 'de' versions are
printed.
But I only want one version being used. Am I missing
more?
Regards
--- Jirka Kosek <> schrieb:
> Darya Said-Akbari wrote:
>
> > And then with <book lang="de"> let DocBook XSL do
> the
> > rest?
> >
> > Actually I tried this and it doesn't work :(
>
> Lang attribute just sets language used for content
> of particular
> element. If you want to filter out elements that are
> not in particular
> language you must use profiling. There is parameter
> profile.lang which
> can be used to select language which should be
> retained in the output.
> To use profiling, you must use stylesheets named
> profile-docbook.xsl
> instead of docbook.xsl.
>
> --
>
------------------------------------------------------------------
> Jirka Kosek e-mail:
> http://www.kosek.cz
>
------------------------------------------------------------------
> Profesionální ¹kolení a poradenství v oblasti
> technologií XML.
> Podívejte se na ná¹ novì spu¹tìný web
> http://DocBook.cz
> Podrobný pøehled ¹kolení
> http://xmlguru.cz/skoleni/
>
------------------------------------------------------------------
> Nejbli¾¹í termíny ¹kolení:
> ** XSLT 23.-26.10.2006 ** XML schémata
> 13.-15.11.2006 **
> ** DocBook 11.-13.12.2006 ** XSL-FO
> 11.-12.12.2006 **
>
------------------------------------------------------------------
> http://xmlguru.cz Blog mostly about XML for
> English readers
>
------------------------------------------------------------------
>
>
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de