|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: generating mailto
<td class="contact">
<a> <xsl:attribute name="href"><xsl:value-of select="contact/email"/></xsl:attribute> <xsl:value-of select="contact/email"/> </a> </td> If you want to list all your contacts, you can do something like: <xsl:apply-templates select="contact"/> <xsl:template match="contact"> <tr> <td><xsl:value-of select="name"/><td> <td class="contact"> <a> <xsl:attribute name="href"><xsl:value-of select="email"/></xsl:attribute> <xsl:value-of select="email"/> </a> </td> </tr> </xsl:template> (this of course assumes you also have a node called "name" in your contacts.) There are probably some ways to shorten this, but thats the gist of it. It took me a while to catch on to it, but when you get it, it becomes very intuitive, so stick with the xsl. Mike Steve Salkin wrote: Hi- 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
|

Cart








