This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: href attributes
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] href attributes
- From: "Swen Thuemmler" <Swen dot Thuemmler at paderlinx dot de>
- Date: Wed, 30 May 2001 11:37:17 +0200 (MET DST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
On Wed, 30 May 2001, Tanzila Mohammad wrote:
[...]
> How do I incorporate the target="blank"?
Hmm, apart from the hardwired drive letter in the url, the following
should work:
<a href="{image/@src}" target="blank">View</a>
or, more verbose:
<a>
<xsl:attribute name="href"><xsl:value-of select="image/@src"/></xsl:attribute>
<xsl:attribute name="target">blank</xsl:attribute>
<xsl:text>View</xsl:text>
</a>
Hope this helps.
--Swen
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list