RosettaCodeData/Task/FizzBuzz/XPath-2.0/fizzbuzz-1.xpath

3 lines
119 B
Plaintext

for $n in 1 to 100 return
concat('fizz'[not($n mod 3)], 'buzz'[not($n mod 5)], $n[$n mod 15 = (1,2,4,7,8,11,13,14)])