This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
AW: href attributes
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: AW: [xsl] href attributes
- From: Sebastian Schirmer <schirmer at sitewaerts dot de>
- Date: Wed, 30 May 2001 11:38:14 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
>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