Re: [xsl] filtering maps by key characteristics?

Subject: Re: [xsl] filtering maps by key characteristics?
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Aug 2020 17:12:38 -0000
On Mon, Aug 24, 2020 at 04:48:55PM -0000, Michael Kay mike@xxxxxxxxxxxx scripsit:
> Perhaps something like
> 
> map:remove($map, map:keys($map)[starts-with(map:keys(.), 'GUID-')])

"The required item type of the first argument of map:keys() is map(*);
supplied expression (.) has item type xs:anyAtomicType"

So far as I can tell, maps are resistant to being considered as
sequences of entries.


-- 
Graydon Saunders  | graydonish@xxxxxxxxx
^fs oferiode, pisses swa mfg.
-- Deor  ("That passed, so may this.")

Current Thread