|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Antwort: href attributes
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








