This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Returning a Tree
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] RE: Returning a Tree
- From: Darren Hayduk <dhayduk at nauticusnet dot com>
- Date: Wed, 5 Sep 2001 11:17:29 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
OK, I'm willing to use the extension functions, but still don't understand
how to 'return' the nodes. Everything I've tried to date either produces a 1
node result set, or a string with all node values concatenated together...
Thanks,
Darren
-----Original Message-----
Date: Tue, 4 Sep 2001 12:45:20 -0700
From: "Sullivan, Dan" <dsullivan@develop.com>
Subject: RE: [xsl] Returning a Tree
A variable without a select attribute contains a result tree fragment,
which in effect is a string. There is no way to assign the result of a
call-template with the select attribute... so in effect call-template
always returns a result tree fragment, never a nodeset. So there is no
standard way to do what you are trying to do. Many XSLT processors,
however, have extension functions that will convert a result tree
fragment into a nodeset.
Dan
> -----Original Message-----
> From: Darren Hayduk [mailto:dhayduk@nauticusnet.com]
> Sent: Tuesday, September 04, 2001 3:28 PM
> To: 'XSL-List@lists.mulberrytech.com'
> Subject: [xsl] Returning a Tree
>
> 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.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list