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, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________