[Home] [By Thread] [By Date] [Recent Entries]
Am 03.01.2025 um 11:52 schrieb Roger L Costello costello@xxxxxxxxx:
Hi Folks,'DIR', 'TYPE') $fieldnames? With pure XPath 3.1 you could try B let $fieldnames := ('TYPE', 'USAGE_CD', 'DIR', 'WGS_LAT', 'TYPE',
'WGS_LONG', 'TURN_DIR', 'DIR', 'TYPE'),
B B B $fieldnamesMap := map:merge($fieldnames!map:entry(., 1), map {
'duplicates' : 'combine' })
return map:for-each($fieldnamesMap, function($k, $v) { if ($v[2]) then
$k else ()})Not sure whether it can be considered simple.
|

Cart



