|
Subject: Re: [xsl] Converting a sequence of xs:string to a map From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 12 Jan 2026 21:56:15 -0000 |
You can also write it in a more XSLT-2-ish way,
let $sequence := ("Simon", "David", "Joy", "Nigel", "Nicola") return map:merge( for $i in 1 to count($sequence) return map:entry($sequence[$i], $i) )
(for $v at $p in ('amount', 'vat-rate', 'total') return map:entry($v,
$p)) => map:merge()| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Converting a sequence of , Liam R. E. Quin liam | Thread | Re: [xsl] Converting a sequence of , Liam R. E. Quin liam |
| Re: [xsl] Converting a sequence of , Liam R. E. Quin liam | Date | Re: [xsl] Converting a sequence of , Liam R. E. Quin liam |
| Month |