New function fn:substitute() #553
Labels
Feature
A change that introduces a new feature
Propose Closing with No Action
The WG should consider closing this issue with no action
XQFO
An issue related to Functions and Operators
The discussion on the parse-csv() use cases suggests there would be value in a function
fn:substitute($value as item()*, $pos as xs:positiveInteger, $mangler as function(item()) as item()) as item()*
whose effect is to return the input sequence
$value
with the item at position$pos
replaced by the result of invoking$mangler
on that item.This should be aligned with similar functions for maps and arrays.
The text was updated successfully, but these errors were encountered: