|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








