![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
20 Oct
2019
20 Oct
'19
8:38 a.m.
On 20. Oct 2019, at 16:05, Geert Verhaag
wrote: The \xmlfirst{#1}{distance} yields 20, but how can the unit attribute value km be accessed?
Gerard
\xmlattribute{#1}{/distance}{unit} (probably, you need to make a real example. See xml-mkiv.pdf, chapter 3.6) Thomas