[NTG-context] xmlindex getting attributes and more

2010-03-15 Thread Hans van der Meer
(1) How does one retrieve an attribute from an element collected with \xmlindex{node{lpath}{n}? (2) I don't understand in xml:test \xmlcount{#1}{} giving 1 for an answer, whereas \xmlcount{#1}{*} and \xmlcount{#1}{/abc} yield 2 as is expected. (3) With the code below \xmlindex starts

Re: [NTG-context] xmlindex getting attributes and more

2010-03-15 Thread Hans Hagen
On 15-3-2010 22:26, Hans van der Meer wrote: (1) How does one retrieve an attribute from an element collected with \xmlindex{node{lpath}{n}? (2) I don't understand in xml:test \xmlcount{#1}{} giving 1 for an answer, whereas \xmlcount{#1}{*} and \xmlcount{#1}{/abc} yield 2 as is expected.