[NTG-context] Re: Testing whether an XML attribute exists

2023-10-17 Thread Hans van der Meer via ntg-context
But there is also \ifxmlattempty{#1}{prefix} .. \else .. \fi yours sincerely dr. Hans van der Meer > On 17 Oct 2023, at 13:37, Taco Hoekwater wrote: > > > >> On 17 Oct 2023, at 12:43, Michael Guravage >> wrote: >> >> Hi, >> >> I am typesetting a very simple address list whose

[NTG-context] Re: Testing whether an XML attribute exists

2023-10-17 Thread Taco Hoekwater
> On 17 Oct 2023, at 12:43, Michael Guravage > wrote: > > Hi, > > I am typesetting a very simple address list whose source is written in XML. > Typesetting choices need to be made dependent on the presence of various > attributes; consider the following element. > > > > If the