[NTG-context] Unexpected results with \xmlpos
Hans Hagen
j.hagen at freedom.nl
Thu Feb 16 23:44:39 CET 2023
On 2/16/2023 10:16 AM, Denis Maier via ntg-context wrote:
> Hi,
>
> Iâm getting unexpected results for \xmlpos
>
> With the example below, I was expecting to get the following positions:
>
> 1 2 3 4
>
> However the result is: 2 4 6 8, i.e. each time itâs exactly the double.
>
> What am I missing?
that there are spaces between elements .. you can try:
\xmlmatch {#1}
instead
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list