[NTG-context] parsing in child attribute

Pablo Rodriguez oinos at gmx.es
Mon May 4 00:09:38 CEST 2015

On 05/03/2015 11:19 PM, Thomas A. Schmitz wrote:
> On 05/03/2015 11:00 PM, Pablo Rodriguez wrote:
>> How could I make that xml:h1 reads the attributes from its parent
>> element (a division)?
> \xmlattribute {#1} {..//div} {id} should work (as explained in chapter 7 
> of xml-mkiv.pdf).

Many thanks for your reply, Thomas.

I read xml-mkiv.pdf four or five times, but I must confess that it is
all Greek to me.

And chapter 7 is especially cryptic to me, In fact, I tried
\xmlattribute {#1} {../div} {id} before and it didn’t worked. Now I
don’t understand why.

Mamy thanks for your help,


More information about the ntg-context mailing list