This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: concat Param and String in XSL
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: concat Param and String in XSL
- From: Linda van den Brink <lvdbrink at baan dot nl>
- Date: Fri, 21 Apr 2000 13:40:17 +0200
- Reply-To: xsl-list at mulberrytech dot com
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