OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: DOCBOOK: Conditional xsl:output ? Help


I'd like to use the same stylesheet to output documents of different
encoding, based on the value of the 'lang' attribute. So I figure I would
just write a small XSL construct that would do the trick and I came up with

<xsl:variable name="lang-attr"

  <xsl:when test="string($lang-attr) = 'pl'">
    <xsl:output encoding="ISO-8859-2"/>
    <xsl:output encoding="ISO-8859-1"/>

Unfrotunately, this does not work. Is this something that XSL can't do or am
I doing it the wrong way ?

Any help appreciated...


Stéphane Bline.

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

Powered by eList eXpress LLC