|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Store node into variable
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








