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: concat Param and String in XSL


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

> -----Original Message-----
> From: Marc Tricou [mailto:Quarc@gmx.de]
> Sent: Friday, April 21, 2000 1:29 PM
> To: xsl-list@mulberrytech.com
> 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

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