Subject: [xsl] xsl <xsl:template match= question From: "dmitri kerievsky" <dmitrik@xxxxxxxxxxxxxx> Date: Fri, 14 Jun 2002 10:15:54 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] finding the parent id of , David Carlisle | Thread | [xsl] Problems calling template fro, Ryan . Kelly |
Re: [xsl] Problems calling template, David Carlisle | Date | [xsl] Beginner picking up xml/xsl p, Scott Purcell |
Month |