![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
18 Jun
2020
18 Jun
'20
1:06 p.m.
On 6/17/20 11:26 PM, Henning Hraban Ramm wrote:
[...] Pablo, do I understand right that you’re converting XML and the comment comes last in that structure, but you need it first?> I.e. the real question is how to process the XML structure in a different order, right? Hraban,
yes, this is my real question. I have to learn how to select the last child using lpath ("[position()==last()]", I guess).
That would avoid shifting boxes around, which might be possible, but ugly and hard to control.
This make sense. Messing code to force ConTeXt to work as it isn’t intended may to other unintended consequences as well. Many thanks for your help, Pablo -- http://www.ousia.tk