|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
concat with <A HREF=
Subject: concat with <A HREF=
From: "Peter Friedland" <friedland@xxxxxxxx>
Date: Thu, 6 Apr 2000 09:37:43 -0400
|
|
I'm trying, unsuccessfully, to take the value of an
element, concat it with something else and use the results in the HREF attribute
of an <A> tag. Can anyone help?
<?xml version="1.0" encoding="UTF-8"
?> <members> <ccmscore.Member>
<memberId>12345678</memberId>
</ccmscore.Member>
</members>
...
<xsl:template match="ccmscore.Member"
mode="DETAILS">
<TR> <xsl:variable
name="MEMBER-ID-RAW"><xsl:apply-templates
select="memberId"/></xsl:variable> <xsl:variable
name="LEFT-ANCHOR">view_member.jsp?memberId=</xsl:variable> <xsl:variable
name="MEMBER-ID" select="concat($LEFT-ANCHOR,
$MEMBER-ID-RAW)"/>
<TD NOWRAP="TRUE"><A
HREF=''><xsl:apply-templates
select="memberId"/></A></TD>
</TR>
...
|
|
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
| RSS 2.0 |
|
| Atom 0.3 |
|
|