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]

RE: Image in XSL?


hI

Thanks for the info.  I tried inserting an image file into an existing XML
file as given by you.  But it doesnt work either.  Can u pl help.

Regards

Shi

-----Original Message-----
From: Betty L. Harvey [mailto:harvey@eccnet.eccnet.com]
Sent: Friday, August 04, 2000 12:56 PM
To: xsl-list@mulberrytech.com
Subject: Re: Image in XSL?




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@eccnet.com                    | 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


 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]