On Feb 19, 2020, at 10:01 AM, thufir hawat.thufir@gmail.com wrote:
where I'm trying to use attributes because I'm not sure how to conditionally nest tags. But, this is interesting. Not quite sure on syntax to set and then conditionally increment $x, however.
Does “conditionally nest tags” mean that you want to make the person[@numerical=“true”] elements children of the immediately previous person[@numerical=“false”] elements ?
If that is the case you can use “group by”
— Steve M.