Hello,
On Mon, 04 May 2015 00:09:38 +0200, Pablo Rodriguez oi...@gmx.es 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
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
Dear list,
I have the following sample:
\startbuffer[demo]
div id=myspecialid
h1Title/h1
pA pragraph/p
/div
\stopbuffer
\startxmlsetups xml:initialize
\xmlsetsetup{#1}{div|h1|p}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
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