This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Returning a Tree
- To: "'XSL-List at lists dot mulberrytech dot com'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Returning a Tree
- From: Darren Hayduk <dhayduk at nauticusnet dot com>
- Date: Tue, 4 Sep 2001 15:28:26 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
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"/>
</xsl:call-template>
B: <xsl:variable name="v" select="//nodes"/>
C: <xsl:template name="c"> <xsl:value-of>... -or-
<xsl:copy>...</xsl:template>
and then
<xsl:variable name="vc">
<xsl:call-template name="c">
</xsl:variable>
<xsl:for-each select="$vc"> ...
Is this possible??
Thanks,
Darren
_______________________________________________
Darren Hayduk | Network Management
Nauticus Networks, Inc.
200 Crossing Blvd, Framingham, MA 01702
508-270-0500 x299
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list