Subject: [xsl] Is it possible to reference the previous and next elements inside a for-each From: Ian Lang <ianplang@xxxxxxxxx> Date: Sun, 11 Apr 2004 23:04:56 -0700 (PDT) |
I am working on a navigation bar for my output HTML. When executing a for-each like this: <xsl:for-each select="//eltag[@type='subtype']"> <xsl:sort select="@name"/> Inside the for each I want to generate my HTML and pass to it the previous and next element for the navigation bar to link to: <xsl:apply-templates mode="createtContent" select="."> <xsl:with-param name="prevEl" select="!some expression here that references the previous element in the for each's list!"/> <xsl:with-param name="nextEl" select="!some expression here that references the next element in the for each's list!"/> </xsl:apply-templates> ... Any advice would be appricated, IL __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Fw: [xsl] xmlns added to some <, Ian Lang | Thread | RE: [xsl] Is it possible to referen, Andreas L. Delmelle |
Re: Fw: [xsl] Is it possible to sor, Ian Lang | Date | RE: [xsl] Is it possible to referen, Andreas L. Delmelle |
Month |