On Mon, 8 Mar 2021 at 10:21, wrote: > > -----Ursprüngliche Nachricht----- > > Von: Hans Hagen > > Gesendet: Freitag, 5. März 2021 23:17 > > An: mailing list for ConTeXt users ; Maier, Denis > > Christian (UB) ; > > wolfgang.schuster.lists@gmail.com > > Betreff: Re: [NTG-context] arbitrary context commands in xml file > > > [...] > > > > > > > Here, I was thinking if something like this could be easier: > > > > > > > > you can also do this: > > > > > > > > \startxmlsetups xml:testpage > > \testpage[\xmlatt{#1}{n}] > > \stopxmlsetup > > > > and register that one (as in previous examples) > > Thanks,. That's a good idea, but it will also make the XML invalid. > > Denis > I'd like to second Denis' request for support for XML processing instructions to execute ConTeXt code, rather than elements which can cause big problems if one is working to a fixed schema. It would be a boon to be able to drop in in an XML source. Duncan