put ("April", "Tam O'Shanter", "Emily") into names put ("Bubbly: I'm > Tam and <= Emily", <>, "Short & shrift") into remarks put (_tag: "CharacterRemarks") as tree into document repeat for each item name in names insert (_tag: "Character", name: name, _children: item the counter of remarks) as tree into document's _children end repeat put document