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] -- A1 X1 B1 -- A2 X2 B2 -- A3 X3 B3 \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{*}{xml:*} \stopxmlsetups \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \

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 AA AB and the Ctx source: t.mkiv \startxmlsetups xml:T \xmlfunction{#1}{test} \xmlsetsetup{\xmldocument}{*}{+} % \xmlsetsetup{\xmldocument}{*}{-} %

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 AA AB and the Ctx source: t.mkiv \startxmlsetups xml:T \xmlfunction{#1}{test} \xmlsetsetup{\xmldocument}{*}{+} % \xmlsetsetup{\xmldocument}{*}{-} % Empties output?! \xmlsetsetup{\xmldocument}{a/aa}{xml:*} \xmlsetsetup{