[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Concat
Hi do it this way: <xsl:variable name="Located"><xsl:value-of select="Picture/Location"/></xsl:variable> <xsl:variable name="URL"><xsl:value-of select="concat($Located,$Named)"/></xsl:variable> < A HREF="$URL" > ........ That should work Uli -----Original Message----- From: Samuzeau Pascal [mailto:samuzeau@xxxxxxxxxxxxxxxxxxxxxxxxxxxx] Sent: Monday, February 26, 2001 9:10 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Concat Hi, How can tell me what is wrong with me ? I have the XML : <Picture> <Name>PictureName</Name> <Location>PictureLocation></Location> </Picture> And the XSL : ( I have to use of Name and Location for some reasons into my template ) <xsl:variable name="Named"><xsl:value-of select="Picture/Name" /></xsl:variable> <xsl:variable name="Located"><xsl:value-of select="Picture/Location" /></xsl:variable> <xsl:variable name="URL" select="concat($Located,$Named)" /> < A HREF="$URL" > ........ But this doesn't work, I get HREF="concat($Located,$Named)"> Thanks PS 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
|