This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Designs for XSLT functions (Was: Re: RE: syntax sugar for call-template)
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: Designs for XSLT functions (Was: Re: [xsl] RE: syntax sugar for call-template)
- From: "Clark C. Evans" <cce at clarkevans dot com>
- Date: Tue, 20 Feb 2001 17:06:16 -0500 (EST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
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