[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Image in XSL?


Subject: RE: Image in XSL?
From: CBayes@xxxxxxx
Date: Fri, 4 Aug 2000 15:16:55 +0100

Eddy,
Nope
	<IMG >
		<xsl:attribute name="SRC">               This says put a src
attribute on the img element
		file://H:/xml/test/disp_jsr_banner_gif    This says put
file://... as the attribute value
		</xsl:attribute>
	</IMG>
	So you end up with <IMG SRC="disp_jsr_banner.gif"/>. The advantage
of doing it this way is that you can use <xsl:value-of
select="SomeTagHoldingTheImageLocation" />
	Ciao Chris

> -----Original Message-----
> From:	Medina, Edward [SMTP:emedina@xxxxxxx]
> Sent:	Friday, August 04, 2000 2:03 PM
> To:	'xsl-list@xxxxxxxxxxxxxxxx'
> Subject:	RE: Image in XSL?
> 
> Chris
> :<IMG >
> :	<xsl:attribute name="SRC">
> :	file://H:/xml/test/disp_jsr_banner_gif 
> :	</xsl:attribute>
> :</IMG>
> :
> :Ciao Chris
> :
> 
> I'll try this, but won't it 
> display the link, instead of the image?
> I was able to display it with the following
> 
> <IMG SRC="disp_jsr_banner.gif"/>
> 
> I'm interested in your idea though and I will
> try it.
> 
> Eddy
> 
> 
>  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