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

RE: Generating Link References

Subject: RE: Generating Link References
From: Rene de Vries <RdVries@xxxxxxxxxxx>
Date: Thu, 28 Jun 2001 18:10:05 +0200
changing reference to images xsl
Hi Doug,

This template should do the trick:

<xsl:template match="email">
	<a>
		<xsl:attribute name="href">
			<xsl:text>mailto:</xsl:text>
			<xsl:value-of select="."/>
			<xsl:text>@somecompany.com</xsl:text>
		</xsl:attribute>
		<img src="images/mail_icon.gif"/>
	</a>
</xsl:template>

just put in in the rest of your XSL which does the selection on "Mananger".

Greetings Rene
   { @   @ }
        ^
      \__/

"You don't need eyes to see, you need vision!"

-----Oorspronkelijk bericht-----
Van:	Hewko, Doug [SMTP:Doug.Hewko@xxxxxxxxxxxxxxx]
Verzonden:	donderdag 28 juni 2001 16:53
Aan:	'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Onderwerp:	 Generating Link References

How can I generate a link reference from an element in my XSL file?

Here's what my XML would be like:
<name position="manager">Joe blow</name>
<email>blow.joe</email>

Within my XSL, I am selecting all managers and want to provide an e-mail
link. I want to change the value of "blow.joe" to "<a
href="mailto:blow.joe@xxxxxxxxxxxxxxx";><img src="images/mail_icon.gif"
/></a>". 

Can this be done without adding plug-ins to MS IE 5.5, and if so, how?

 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.