This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Concat
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Concat
- From: "Post, Ulrich" <Ulrich dot Post at softwareag dot com>
- Date: Mon, 26 Feb 2001 09:12:14 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@sunaimed.med.univ-rennes1.fr]
Sent: Monday, February 26, 2001 9:10 AM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] 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