79393667

Date: 2025-01-28 11:47:22
Score: 0.5
Natty:
Report link

This can be achieved with the help of xs:assert, fn:matches and concat.

The assertion at a level that can reach all needed elements as children looks like the following.

<xs:assert test='every $line in Values/Line satisfies fn:matches($line, concat("-?[0-9]*.[0-9]{1,2}(,-?[0-9]*.[0-9]{1,2}){",xs:string(Count - 1),"}"))'/>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: FordPrefect