<!-- make a copy of the attributes (a proxy for processing) and return
them -->
<xsl:function name="mine:recopy">
Try <xsl:function name="mine:recopy" as="attribute()*">
I think what’s happening is that, because your function doesn’t declare
its return type, what it’s returning is wrapped in a document node and
you can’t do that with attributes.
As a general rule, declare the types of your parameters and what your
functions and templates construct.
Be seeing you,
norm
--
Norman Tovey-Walsh <ndw(_at_)nwalsh(_dot_)com>
https://nwalsh.com/
One of my most productive days was throwing away 1000 lines of
code.--Ken Thompson
--~----------------------------------------------------------------
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
--~--
signature.asc
Description: PGP signature