This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Antwort: href attributes
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Antwort: [xsl] href attributes
- From: P dot Vogt at mainwork dot com
- Date: Wed, 30 May 2001 11:54:35 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
try:
<a target="blank">
<xsl:attribute name="href"><xsl:value-of
select="image/@src"/></xsl:attribute>
View
</a>
or
<a>
<xsl:attribute name="href"><xsl:value-of
select="image/@src"/></xsl:attribute>
<xsl:attribute name="target">blank</xsl:attribute>
View
</a>
Philipp
--
Philipp Vogt
Web-Entwickler/Programmierer/Member of visionLab
mainwork information technology AG
Tech Gate Vienna
Donau-City-Strasse 1, 1220 Wien
E-Mail: p.vogt@mainwork.com
Tel: +43 1 333 48 58 - 93
Fax: +43 1 333 48 58 - 24
Mobil: +43 699 1 946 95 24
"Tanzila Mohammad" <tmohammad@entier-solutions.com>
Gesendet von: owner-xsl-list@lists.mulberrytech.com
30.05.2001 11:24
Bitte antworten an xsl-list
An: <xsl-list@lists.mulberrytech.com>
Kopie:
Thema: [xsl] href attributes
I want to do the following:
<a href = "C:/images/cat.gif"
target="blank"
View
</a>
Where target="blank" allows for a pop-up window of the image when you
click
on "View".
My xml for the image is as follows:
<image src="C:/images/cat.gif"></image>
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list