| Subject: Re: Designs for XSLT functions (Was: Re: [xsl] RE: syntax sugar for  call-template) From: "Clark C. Evans" <cce@xxxxxxxxxxxxxx> Date: Tue, 20 Feb 2001 17:06:16 -0500 (EST) | 
On Tue, 20 Feb 2001, Uche Ogbuji wrote:
> > 3.  Create a new tag, <exsl:append select="xpath" /> which will:
> > 
> >     (a) if the xpath type is a node-set, then it appends each
> >         element of the node set onto the result-set.
> > 
> >     (b) otherwise, a text node is appended with the string-value
> >         of the path expression.
> 
> I don't think this is necessary with an exsl:node-set().
How do I build-up a node set using this over, say a loop?
  <exsl:append select="$header" />
  <xsl:for-each select="..." >
    ...
    <exsl:append seelct="$more-body" />
  </xsl:for-each>
  <exsl:append select="$footer" />
Clark
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: Designs for XSLT functions (Was, Uche Ogbuji | Thread | Re: Designs for XSLT functions (Was, Uche Ogbuji | 
| Re: Designs for XSLT functions (Was, Clark C. Evans | Date | [xsl] thanks, also thoughts on xsl:, Dave Gomboc | 
| Month |