|
Subject: Re: [xsl] New camt54 namespace From: "Leo Studer leo.studer@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 12 May 2026 20:39:17 -0000 |
Hello and thank you all for your inputs. I finally went with preprocessing the old documents b essentially converting them into a variable to the new standard b and tweaking the templates for the new standardb& Enjoy spring time Cheers, L E O > On 12 May 2026, at 15:38, Wendell Piez wapiez@xxxxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > Hello, > > Has anyone mentioned shadow attributes? > > As it happens the XSLT 3.0 spec gives this as an example use case for shadow attributes https://www.w3.org/TR/xslt-30/#shadow-attributes. > > _xpath-default-namespace="{ $set-a-namespace }" > > Like other solutions, that perhaps eases the problem without solving it. > > I would probably use the approach Mike Kay recommends, a pipeline in which an XSLT could perform whatever adjustments are called for. (Since there may also be others.) > > Good luck, Wendell > > On Mon, May 11, 2026 at 8:16b/PM Leo Studer leo.studer@xxxxxxxxxxx <mailto:leo.studer@xxxxxxxxxxx> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx <mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote: >> >> Hello >> >> The bank renewed the camt54 standard. >> >> In my stylesheet I need to access old and new bank statements simultaneously. >> >> With xpath-default-namespace="urn:iso:std:iso:20022:tech:xsd:camt.054.001.04b my stylesheet works for the old documents and >> with xpath-default-namespace="urn:iso:std:iso:20022:tech:xsd:camt.054.001.08b it does the job for the new documents. >> >> Is there an easy way to use either of the two namespaces so that my stylesheet works for old and new bank statements? >> >> Thanks for caring! >> >> Yours, L E O >> >> >> >> >> >> XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list> >> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/174322> (by email <>) > > > > -- > ...Wendell Piez... ...wendellpiez.com... > ...pellucidliterature.org... ...raventracks.org... ...github.com/wendellpiez. <http://github.com/wendellpiez.>.. > XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list> > EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/945646> (by email <>)
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] New camt54 namespace, Wendell Piez wapiez@ | Thread | [xsl] XSL-FO, CSS and Paged Output , Tony Graham tgraham@ |
| Re: [xsl] New camt54 namespace, Wendell Piez wapiez@ | Date | [xsl] Fwd: May meeting of XProc Use, Wendell Piez wapiez@ |
| Month |