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

Re: Image in XSL?


Subject: Re: Image in XSL?
From: "Betty L. Harvey" <harvey@xxxxxxxxxxxxxxxxx>
Date: Thu, 3 Aug 2000 21:26:12 -1000 (HST)


You can just do:

	<img src="file://H:/xml/test/disp_jsr_banner_gif" />

In this case you don't have to worry about using the 
<xsl:attribute> command.

Betty

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone: 410-787-9200 FAX: 9830 
Electronic Commerce Connection, Inc. |        
harvey@xxxxxxxxxx                    | Washington,DC SGML/XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/  


On Thu, 3 Aug 2000, Medina, Edward wrote:

> Hello Folks!
> 
> I'm trying to have a banner show up in HTML
> without the source being in the XML.  How 
> can I do that in XSL?
> 
> I know that in HTML you can do it 
> with <A HREF="location"/> how can you do it in the 
> XSL.  I know how to set an image to the background
> but, how do you have a banner?
> 
> I tried
> 
> 		<IMG >
> 		<xsl:attribute name="SRC">
> 		<A SRC="file:H:/xml/test/disp_jsr_banner_gif" /> 
> 		</xsl:attribute>
> 		</IMG>
> 
> and
> 
> 		<IMG >
> 		<xsl:attribute name="SRC">
> 		<xsl:value-of
> select="file:H:/xml/test/disp_jsr_banner_gif"/>
> 		</xsl:attribute>
> 		</IMG>
> 
> However neither work, any ideas anyone?
> 
> Thanks in advance, 
> 
> 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