This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Cast variable to node-set
- From: "Joerg Heinicke" <joerg dot heinicke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 13 Mar 2002 22:51:57 +0100
- Subject: Re: [xsl] Cast variable to node-set
- References: <20020313212625.GA22033@jordyn.codenoevil.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi David,
you can use a processor-specific node-set() extension function to convert
your result tree fragment to a nodeset. But mostly there are methods to do
such things XSLT 1.0-standard conform. But for this I have to know a little
bit more.
Joerg
----- Original Message -----
From: "David B. Bitton" <david@codenoevil.com>
To: <XSL-List@lists.mulberrytech.com>
Sent: Wednesday, March 13, 2002 10:26 PM
Subject: [xsl] Cast variable to node-set
I have a template that I pass a node or node-set to. Sometimes, I do some
math prior to sending the data into the
template. Once I've done an addition or subtraction, it's no longer a
node-set, and my template breaks because the
variable that's passed in must resolve to a node-set. What can I do?
--
David B. Bitton
david@codenoevil.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list