[NTG-context] bug when dealing with XML classes?

Pablo Rodriguez oinos at gmx.es
Thu Jan 22 20:32:28 CET 2015


On 01/22/2015 07:57 PM, Hans Hagen wrote:
> On 1/22/2015 7:42 PM, Pablo Rodriguez wrote:
>>[...]
>> ConTeXt MkIV is not able to understand
>>
>>      class="section level1 hidden"
>>
>> as
>>
>>      class="section" class="level1" class="hidden"
> 
> It has nothing to do with understanding: successive attributes with the 
> same name will overload a previous one. You can try this:
> 
>       \xmlsetsetup{#1}{[contains(@class,'hidden')]/h1}{}

Many thanks for your fast reply, Hans.

I was totally wrong. It was my understanding the one that was buggy :-).

Many thanks for your help again,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list