|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Designs for XSLT functions (Was: Re: RE: syntax su
On Tue, 20 Feb 2001, Uche Ogbuji wrote: > > 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" /> > > <xsl:variable name='foo'> > <xsl:for-each select="..." > > ... > <xsl:value-of select="$more-body" /> > </xsl:for-each> > </xsl:variable> > <exsl:result select='exsl:node-set($foo)'> What happens if $more-body was a particular node, say the 4th child, ".[4]" , I'd like the result-set to contain each one of the 4th children. The <xsl:variable approach will build a result-fragment and then convert the fragement to a node-set. This is entirely different. Hmm. How to better explain. Clark XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








