[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl <xsl:template match= question
this is outputting AB, instead of href="mailto:joe@xxxxxxxx">joe doe</a> how can this line <xsl:template match="catalog/artist/name/title/album/label/"> in the .xsl be changed to do this, without assigning an attribute? thx, dk .xml <catalog> <artist> <name></name> <album> <title>AB</title> <label> <person email="joe@xxxxxxxx" name="joe doe"/> </label> </album> </artist> </catalog> .xsl <xsl:template match="catalog/artist/name/title/album/label/"> <a href="{concat('mailto:', @email)}"><xsl:value-of select="@name" /></a> </xsl:template> 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
|