xsl-list
[Top] [All Lists]

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

2020-05-19 06:54:00
On Tue, May 19, 2020 at 07:49:38AM -0000, Martin Honnen 
martin(_dot_)honnen(_at_)gmx(_dot_)de 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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>