|
Subject: Antwort: [xsl] href attributes From: P.Vogt@xxxxxxxxxxxx Date: Wed, 30 May 2001 11:54:35 +0200 |
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@xxxxxxxxxxxx
Tel: +43 1 333 48 58 - 93
Fax: +43 1 333 48 58 - 24
Mobil: +43 699 1 946 95 24
"Tanzila Mohammad" <tmohammad@xxxxxxxxxxxxxxxxxxxx>
Gesendet von: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
30.05.2001 11:24
Bitte antworten an xsl-list
An: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] href attributes, Oliver Becker | Thread | [xsl] email and XSL, Edward Kennedy |
| Re: [xsl] Re:Re:How to simplify the, Jeni Tennison | Date | Re: [xsl] Convert XML elements with, Jeni Tennison |
| Month |