Subject: AW: href attributes
From: Sebastian Schirmer <schirmer@xxxxxxxxxxxxx>
Date: Wed, 30 May 2001 11:38:14 +0200
|
>My xsl to deal with the above href is currently:
>
><a><xsl:attribute name="href"><xsl:value-of
>select="image/@src"/></xsl:attribute>
> View</a>
>
>How do I incorporate the target="blank"?
>
>Tanz
If I understand you correctly, the following should do the job:
<a>
<xsl:attribute name="href"><xsl:value-of
select="image/@src"/></xsl:attribute>
<xsl:attribute name="target">blank</xsl:attribute>
View
</a>
Sebastian Schirmer
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|