Re: [xsl] XSLT 4: couldn't xsl:mode have copy-namespaces declaration?

Subject: Re: [xsl] XSLT 4: couldn't xsl:mode have copy-namespaces declaration?
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 May 2020 11:53:54 -0000
On Tue, May 19, 2020 at 07:49:38AM -0000, Martin Honnen martin.honnen@xxxxxx scripsit:
[snip]
> Sometimes I would want to declare
> 
>   <xsl:mode on-no-match="shallow-copy" copy-namespaces="no"/>
> 
> Is that feasible?

I would certainly use it if it was.

One annoying thing about xsl:mode is that it doesn't work if you need to
strip namespaces; one has to go back to the identity template and
copy-namespaces="no" on the xsl:copy instruction.

-- Graydon

Current Thread