This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cast variable to node-set


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]