xsl-list
[Top] [All Lists]

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

2020-05-19 02:49:40

XSLT 3 has a declarative way with xsl:mode and on-no-match being one of
deep-copy, shallow-copy, deep-skip, shallow-skip, text-only-copy.

With XSLT 2 and 3 xsl:copy and xsl:copy-of also have some improvement to
XSLT 1 by allowing the use of the copy-namespaces attribute with "no".

Sometimes I would want to declare

  <xsl:mode on-no-match="shallow-copy" copy-namespaces="no"/>

Is that feasible?

--~----------------------------------------------------------------
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>