This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Passing Variable into an external xml document template


Sia Rahimi wrote:
> 
> Method2:
>   <xsl:value-of select="MenuName"/>

This selection will return the string value of a node called "MenuName"
rather than the string "MenuName" which is what you actually want.

The following would work correctly:

<xsl:value-of select="'MenuName'" />

Gary L Peskin wrote:
> 
> They both work identically for me, using Xalan 1.2.D01.  What are you
> using?

I would hope not!

-- 
Warren Hedley


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]