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]

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@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


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