| 
 
Subject: Re: [xsl] Passing a list of arguments From: "Mathieu Malaterre" <mathieu.malaterre@xxxxxxxxx> Date: Fri, 9 Nov 2007 14:38:02 +0100  | 
Hi Mukul, On Nov 9, 2007 2:16 PM, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote: > You seem to be missing something. > > I think, the root template should be: > > <xsl:template match="/"> > <xsl:for-each select="$sections-list/section/section"> > <xsl:apply-templates select="article"> > <xsl:with-param name="extract-section" select="."/> > </xsl:apply-templates> > </xsl:for-each> > </xsl:template> This is better. In this case for-each is operating on each element of sections/section > It's not clear to me what exactly is your requirement. But you seem to > be writing a wrong XPath expression. But for some reason applying the template does not work, the value from sections/section is not passed... Using a call-template works but this is not what I would like. Thanks, -- Mathieu
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Passing a list of argumen, Mathieu Malaterre | Thread | Re: [xsl] Passing a list of argumen, Mathieu Malaterre | 
| Re: [xsl] Passing a list of argumen, Mathieu Malaterre | Date | Re: [xsl] Passing a list of argumen, Mathieu Malaterre | 
| Month |