Subject: [xsl] RE: Returning a Tree From: Darren Hayduk <dhayduk@xxxxxxxxxxxxxxx> Date: Wed, 5 Sep 2001 11:17:29 -0400 |
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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx] > Sent: Tuesday, September 04, 2001 3:28 PM > To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx' > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Problem Merging multiple , Zwetselaar M. van (M | Thread | [xsl] RE: Returning A Tree, Darren Hayduk |
[xsl] Problem Merging multiple XML , Hewko, Doug | Date | RE: [xsl] Problem Merging multiple , Corey Spitzer |
Month |