Re: [xsl] href attributes

Subject: Re: [xsl] href attributes
From: "Swen Thuemmler" <Swen.Thuemmler@xxxxxxxxxxxx>
Date: Wed, 30 May 2001 11:37:17 +0200 (MET DST)
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


Current Thread