[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Generating Link References
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
|
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
|