This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: href attributes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]