[publican-list] conditionally exclude a paragraph

Domingo Becker domingobecker at gmail.com
Mon Nov 7 16:10:20 UTC 2011


2011/11/7 Domingo Becker <domingobecker at gmail.com>:
> I would like to exclude a paragraph or section depending on the
> language being built.
>
> The paragraph must exist in all languages except the source one.
>
> According to [1] I should use lang attribute, the section would look
> like the following:
>
> <section lang="en-US">
>    <title>The title</title>
>    ...
> </section>
>
> But what I really need is to exclude the paragraph when the language is en-US.
>
> Is there an operator or something like lang!="en-US", to indicate for
> all languages except en-US?
>

Sorry, I forgot the link.

[1] http://www.sagehill.net/docbookxsl/Profiling.html#MarkProfileText

kind regards

Domingo Becker




More information about the publican-list mailing list