for $value in $xmlReport/csv/record/Payment_Amount/number() where ??? return $value
Can you live with
for $value in $xmlReport/csv/record/Payment_Amount where $value castable as xs:double return xs:double($value)
?