On Sun, Nov 24, 2019 at 4:10 PM Imsieke, Gerrit, le-tex
gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
Example:
<xsl:variable name="var1">
<doc>
<p/>
</doc>
</xsl:variable>
$var1/*/name() gives 'doc'
<xsl:variable name="var2" as="element(*)">
<doc>
<p/>
</doc>
</xsl:variable>
$var2/*/name() gives 'p'
This is because of implicit document node creation [1].
Nice to know about these subtle facts.
--
Regards,
Mukul Gandhi
--~----------------------------------------------------------------
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
--~--