[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: concat Param and String in XSL


Subject: RE: concat Param and String in XSL
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Fri, 21 Apr 2000 13:40:17 +0200

Remove the quotes from around your parameter: 
file="concat($targetdir,'de_hotels/hotel{@id}.html')

> -----Original Message-----
> From: Marc Tricou [mailto:Quarc@xxxxxx]
> Sent: Friday, April 21, 2000 1:29 PM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: concat Param and String in XSL
> 
> 
> Hi!
> 
> I try to make a combination of a parameter and a string in a xsl tag.
> how do i have to do this?
> 
> ...
>  <xsl:param name="targetdir" select="."/>
> 
>  <xsl:variable name="image-dir">../citywest1_files</xsl:variable>
> 
>  <xsl:template match="page">
>    <xsl:apply-templates select="hotel"/>
>  </xsl:template>
> 
> 
>  <xsl:template match="hotel">
>   <redirect:write
> file="concat('$targetdir','de_hotels/hotel{@id}.html')">     --------
> here it's goint wrong? what's wrong
> ...
> 
> Marc
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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



Current Thread
Keywords
xsl