|
Subject: Re: Passing Variable into an external xml document template From: Gary L Peskin <garyp@xxxxxxxxxxxx> Date: Wed, 16 Aug 2000 20:26:23 -0700 |
Sia -
They both work identically for me, using Xalan 1.2.D01. What are you
using?
Gary
Sia Rahimi wrote:
>
> BTW, although my problem is solved, I am curiuos why
> Method1 doesn't work but Method2 works. Can anybody explain this, please?
>
> Method1:
> <xsl:apply-templates select="document('Menus.xml')/MenuTreeList">
> <xsl:with-param name="theMenu" select="MenuName"/>
> </xsl:apply-templates>
>
> Method2:
> <xsl:variable name="myMenu">
> <xsl:value-of select="MenuName"/>
> </xsl:variable>
> <xsl:apply-templates select="document('Menus.xml')/MenuTreeList">
> <xsl:with-param name="theMenu" select="$myMenu"/>
> </xsl:apply-templates>
>
> Thanks,
> Sia.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Passing Variable into an extern, Sia Rahimi | Thread | Re: Passing Variable into an extern, Warren Hedley |
| Re: Subtracting in XSL?, Mike Brown | Date | Re: Subtracting in XSL?, Gary L Peskin |
| Month |