Re: [NTG-context] parsing in child attribute

2015-05-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Mon, 04 May 2015 00:09:38 +0200, Pablo Rodriguez wrote: 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. I must confirm Pablo's experience with myself - chapter "Example paths" just

Re: [NTG-context] parsing in child attribute

2015-05-03 Thread Pablo Rodriguez
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 th

Re: [NTG-context] parsing in child attribute

2015-05-03 Thread Thomas A. Schmitz
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). Thomas __

[NTG-context] parsing in child attribute

2015-05-03 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] Title A pragraph \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{div|h1|p}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:div \xmlflus