Hi,
Using xslt2, I am probably missing something stupid but can't figure out
how to make the following working...
<xsl:variable name="date">
<xsl:copy-of select="$element/date"/>
</xsl:variable>
<xsl:variable name="date2" select="$element/date"/>
<xsl:message select="concat('date: ', name($date))"/>
<xsl:message select="concat('date2: ', name($date2))"/>
The output is:
---
date:
date2: date
---
I would need the $date to be the same node as $date2 (I want to use a
"xsl:choose" in the $date variable).
Thanks,
Yoann
--~----------------------------------------------------------------
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
--~--