[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: filtering maps by key characteristics?
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Aug 2020 17:26:06 -0000
Am 24.08.2020 um 19:12 schrieb Graydon graydon@xxxxxxxxx:
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"

I think it should have been


map:remove($map, map:keys($map)[starts-with(., 'GUID-')])

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member