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]
Other format: [Raw text]

Re: Using a variable to get the value of an element


I wrote:
> or you need to create the $hello variable without the extraneous
> whitespace, with:
...
> or:
>
>   <xsl:variable name="hello">
>     <xsl:value-of select="concat('officename1_', $PageLang)" />
>   </xsl:variable>

or, better:

  <xsl:variable name="hello"
                select="concat('officename1_', $PageLang)" />

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 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]