Altova Mailing List Archives

[xsl] Returning a Tree

From: Darren Hayduk <dhayduk@--------------->
Date: 9/4/2001 11:37:00 AM
I'm trying to construct a template (call-template) that will return a node
set, and I can't figure out how to do it.

I've had success calling a template with a node-set (a, below), assigning a
node-set to a variable which can be used in the same context (b, below), but
not returning a node-set (c, below).

A: <xsl:call-template name="a"> <xsl:with-param select="//nodes" name="in"/>
B: <xsl:variable name="v" select="//nodes"/>
C: <xsl:template name="c"> <xsl:value-of>... -or-
and then
<xsl:variable name="vc">
  <xsl:call-template name="c">	
<xsl:for-each select="$vc"> ...

Is this possible??


Darren Hayduk | Network Management
Nauticus Networks, Inc.
200 Crossing Blvd, Framingham, MA 01702
508-270-0500 x299

 XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.