Re: [NTG-context] XML - accessing parental children attribute (was: some troubles)

2015-02-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks Hans, this works perfectly... Lukas \startbuffer[demo] a aa number=/aa aa number=a1A1/aa ax number=x1X1/ab ab number=b1B1/ab aa number=/aa aa number=a2A2/aa ax number=x2X2/ab ab number=b2B2/ab aa number=/aa aa number=a3A3/aa ax

Re: [NTG-context] XML - accessing parental children attribute (was: some troubles)

2015-02-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, a slightly modified example: t.xml a aa number=111AA/aa ab number=222AB/ab /a and the Ctx source: t.mkiv \startxmlsetups xml:T \xmlfunction{#1}{test} \xmlsetsetup{\xmldocument}{*}{+} % \xmlsetsetup{\xmldocument}{*}{-} % Empties output?!

Re: [NTG-context] XML - accessing parental children attribute (was: some troubles)

2015-02-17 Thread Hans Hagen
On 2/17/2015 3:25 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, a slightly modified example: t.xml a aa number=111AA/aa ab number=222AB/ab /a and the Ctx source: t.mkiv \startxmlsetups xml:T \xmlfunction{#1}{test} \xmlsetsetup{\xmldocument}{*}{+} %