apply {{game_list}} to - struct Games title default("n/a") = //table[@class="games"]/tr/td[2]/a/fn:normalize-space(translate(string-join(text(), ' '), ' ', ' ')) version default("1.0") = //table[@class="games"]/tr/td[4]/text() languages default("") = //table[@class="games"]/tr/td[6]/string-join(img/@title, ';') edition = //table[@class="games"]/tr/td[5]/fn:normalize-space(translate(text(), ' ,',' ;')) serial = //table[@class="games"]/tr/td[7]/(if (boolean(@title)) then translate(@title, ',', ';') else fn:translate(normalize-space(text()), ' ', '-')) region = //table[@class="games"]/tr/td[1]/img/string(@src) end end ==game_list title,edition,version,languages,serial,region {{#Games}} "{{{title}}}",{{edition}},{{version}},{{languages}},{{{serial}}},{{{region}}} {{/Games}} ==end