[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxxxxxxxxx> To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, March 13, 2002 10:26 PM Subject: 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@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|