[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: concat with <A HREF=

Subject: Re: concat with <A HREF=
From: "Peter Friedland" <friedland@xxxxxxxx>
Date: Thu, 6 Apr 2000 12:14:38 -0400
peter friedland
That worked.  Thanks for your quick reply!
----- Original Message -----
From: <Larry_Mason@xxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Thursday, April 06, 2000 10:02 AM
Subject: Re: concat with <A HREF=


>
> Have you tried the following? Or is the problem with the actual concating?
> Larry
>
> <A>
> <xsl:attribute name="href">
> <xsl:value-of select="$MEMBER-ID"/>
> </xsl:attribute>
> <xsl:apply-templates  select="memberId"/>
> </A>
>
>
>
>
>
> "Peter Friedland" <friedland@xxxxxxxx>@mulberrytech.com on 04/06/2000
> 08:37:43 AM
>
> Please respond to xsl-list@xxxxxxxxxxxxxxxx
>
> Sent by:  owner-xsl-list@xxxxxxxxxxxxxxxx
>
>
> To:   <xsl-list@xxxxxxxxxxxxxxxx>
> cc:
> Subject:  concat with <A HREF=
>
>
>
> 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='$MEMBER-ID'><xsl:apply-templates  select
> ="memberId"/></A></TD>
>
> </TR>
> ...
>
>
>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.